/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either * express or implied. See the License for the specific language governing * permissions and limitations under the License. */ /* * Do not modify this file. This file is generated from the elasticloadbalancingv2-2015-12-01.normal.json service model. */ using System; using Amazon.Runtime; namespace Amazon.ElasticLoadBalancingV2 { /// /// Constants used for properties of type ActionTypeEnum. /// public class ActionTypeEnum : ConstantClass { /// /// Constant AuthenticateCognito for ActionTypeEnum /// public static readonly ActionTypeEnum AuthenticateCognito = new ActionTypeEnum("authenticate-cognito"); /// /// Constant AuthenticateOidc for ActionTypeEnum /// public static readonly ActionTypeEnum AuthenticateOidc = new ActionTypeEnum("authenticate-oidc"); /// /// Constant FixedResponse for ActionTypeEnum /// public static readonly ActionTypeEnum FixedResponse = new ActionTypeEnum("fixed-response"); /// /// Constant Forward for ActionTypeEnum /// public static readonly ActionTypeEnum Forward = new ActionTypeEnum("forward"); /// /// Constant Redirect for ActionTypeEnum /// public static readonly ActionTypeEnum Redirect = new ActionTypeEnum("redirect"); /// /// This constant constructor does not need to be called if the constant /// you are attempting to use is already defined as a static instance of /// this class. /// This constructor should be used to construct constants that are not /// defined as statics, for instance if attempting to use a feature that is /// newer than the current version of the SDK. /// public ActionTypeEnum(string value) : base(value) { } /// /// Finds the constant for the unique value. /// /// The unique value for the constant /// The constant for the unique value public static ActionTypeEnum FindValue(string value) { return FindValue(value); } /// /// Utility method to convert strings to the constant class. /// /// The string value to convert to the constant class. /// public static implicit operator ActionTypeEnum(string value) { return FindValue(value); } } /// /// Constants used for properties of type AuthenticateCognitoActionConditionalBehaviorEnum. /// public class AuthenticateCognitoActionConditionalBehaviorEnum : ConstantClass { /// /// Constant Allow for AuthenticateCognitoActionConditionalBehaviorEnum /// public static readonly AuthenticateCognitoActionConditionalBehaviorEnum Allow = new AuthenticateCognitoActionConditionalBehaviorEnum("allow"); /// /// Constant Authenticate for AuthenticateCognitoActionConditionalBehaviorEnum /// public static readonly AuthenticateCognitoActionConditionalBehaviorEnum Authenticate = new AuthenticateCognitoActionConditionalBehaviorEnum("authenticate"); /// /// Constant Deny for AuthenticateCognitoActionConditionalBehaviorEnum /// public static readonly AuthenticateCognitoActionConditionalBehaviorEnum Deny = new AuthenticateCognitoActionConditionalBehaviorEnum("deny"); /// /// This constant constructor does not need to be called if the constant /// you are attempting to use is already defined as a static instance of /// this class. /// This constructor should be used to construct constants that are not /// defined as statics, for instance if attempting to use a feature that is /// newer than the current version of the SDK. /// public AuthenticateCognitoActionConditionalBehaviorEnum(string value) : base(value) { } /// /// Finds the constant for the unique value. /// /// The unique value for the constant /// The constant for the unique value public static AuthenticateCognitoActionConditionalBehaviorEnum FindValue(string value) { return FindValue(value); } /// /// Utility method to convert strings to the constant class. /// /// The string value to convert to the constant class. /// public static implicit operator AuthenticateCognitoActionConditionalBehaviorEnum(string value) { return FindValue(value); } } /// /// Constants used for properties of type AuthenticateOidcActionConditionalBehaviorEnum. /// public class AuthenticateOidcActionConditionalBehaviorEnum : ConstantClass { /// /// Constant Allow for AuthenticateOidcActionConditionalBehaviorEnum /// public static readonly AuthenticateOidcActionConditionalBehaviorEnum Allow = new AuthenticateOidcActionConditionalBehaviorEnum("allow"); /// /// Constant Authenticate for AuthenticateOidcActionConditionalBehaviorEnum /// public static readonly AuthenticateOidcActionConditionalBehaviorEnum Authenticate = new AuthenticateOidcActionConditionalBehaviorEnum("authenticate"); /// /// Constant Deny for AuthenticateOidcActionConditionalBehaviorEnum /// public static readonly AuthenticateOidcActionConditionalBehaviorEnum Deny = new AuthenticateOidcActionConditionalBehaviorEnum("deny"); /// /// This constant constructor does not need to be called if the constant /// you are attempting to use is already defined as a static instance of /// this class. /// This constructor should be used to construct constants that are not /// defined as statics, for instance if attempting to use a feature that is /// newer than the current version of the SDK. /// public AuthenticateOidcActionConditionalBehaviorEnum(string value) : base(value) { } /// /// Finds the constant for the unique value. /// /// The unique value for the constant /// The constant for the unique value public static AuthenticateOidcActionConditionalBehaviorEnum FindValue(string value) { return FindValue(value); } /// /// Utility method to convert strings to the constant class. /// /// The string value to convert to the constant class. /// public static implicit operator AuthenticateOidcActionConditionalBehaviorEnum(string value) { return FindValue(value); } } /// /// Constants used for properties of type IpAddressType. /// public class IpAddressType : ConstantClass { /// /// Constant Dualstack for IpAddressType /// public static readonly IpAddressType Dualstack = new IpAddressType("dualstack"); /// /// Constant Ipv4 for IpAddressType /// public static readonly IpAddressType Ipv4 = new IpAddressType("ipv4"); /// /// This constant constructor does not need to be called if the constant /// you are attempting to use is already defined as a static instance of /// this class. /// This constructor should be used to construct constants that are not /// defined as statics, for instance if attempting to use a feature that is /// newer than the current version of the SDK. /// public IpAddressType(string value) : base(value) { } /// /// Finds the constant for the unique value. /// /// The unique value for the constant /// The constant for the unique value public static IpAddressType FindValue(string value) { return FindValue(value); } /// /// Utility method to convert strings to the constant class. /// /// The string value to convert to the constant class. /// public static implicit operator IpAddressType(string value) { return FindValue(value); } } /// /// Constants used for properties of type LoadBalancerSchemeEnum. /// public class LoadBalancerSchemeEnum : ConstantClass { /// /// Constant Internal for LoadBalancerSchemeEnum /// public static readonly LoadBalancerSchemeEnum Internal = new LoadBalancerSchemeEnum("internal"); /// /// Constant InternetFacing for LoadBalancerSchemeEnum /// public static readonly LoadBalancerSchemeEnum InternetFacing = new LoadBalancerSchemeEnum("internet-facing"); /// /// This constant constructor does not need to be called if the constant /// you are attempting to use is already defined as a static instance of /// this class. /// This constructor should be used to construct constants that are not /// defined as statics, for instance if attempting to use a feature that is /// newer than the current version of the SDK. /// public LoadBalancerSchemeEnum(string value) : base(value) { } /// /// Finds the constant for the unique value. /// /// The unique value for the constant /// The constant for the unique value public static LoadBalancerSchemeEnum FindValue(string value) { return FindValue(value); } /// /// Utility method to convert strings to the constant class. /// /// The string value to convert to the constant class. /// public static implicit operator LoadBalancerSchemeEnum(string value) { return FindValue(value); } } /// /// Constants used for properties of type LoadBalancerStateEnum. /// public class LoadBalancerStateEnum : ConstantClass { /// /// Constant Active for LoadBalancerStateEnum /// public static readonly LoadBalancerStateEnum Active = new LoadBalancerStateEnum("active"); /// /// Constant Active_impaired for LoadBalancerStateEnum /// public static readonly LoadBalancerStateEnum Active_impaired = new LoadBalancerStateEnum("active_impaired"); /// /// Constant Failed for LoadBalancerStateEnum /// public static readonly LoadBalancerStateEnum Failed = new LoadBalancerStateEnum("failed"); /// /// Constant Provisioning for LoadBalancerStateEnum /// public static readonly LoadBalancerStateEnum Provisioning = new LoadBalancerStateEnum("provisioning"); /// /// This constant constructor does not need to be called if the constant /// you are attempting to use is already defined as a static instance of /// this class. /// This constructor should be used to construct constants that are not /// defined as statics, for instance if attempting to use a feature that is /// newer than the current version of the SDK. /// public LoadBalancerStateEnum(string value) : base(value) { } /// /// Finds the constant for the unique value. /// /// The unique value for the constant /// The constant for the unique value public static LoadBalancerStateEnum FindValue(string value) { return FindValue(value); } /// /// Utility method to convert strings to the constant class. /// /// The string value to convert to the constant class. /// public static implicit operator LoadBalancerStateEnum(string value) { return FindValue(value); } } /// /// Constants used for properties of type LoadBalancerTypeEnum. /// public class LoadBalancerTypeEnum : ConstantClass { /// /// Constant Application for LoadBalancerTypeEnum /// public static readonly LoadBalancerTypeEnum Application = new LoadBalancerTypeEnum("application"); /// /// Constant Gateway for LoadBalancerTypeEnum /// public static readonly LoadBalancerTypeEnum Gateway = new LoadBalancerTypeEnum("gateway"); /// /// Constant Network for LoadBalancerTypeEnum /// public static readonly LoadBalancerTypeEnum Network = new LoadBalancerTypeEnum("network"); /// /// This constant constructor does not need to be called if the constant /// you are attempting to use is already defined as a static instance of /// this class. /// This constructor should be used to construct constants that are not /// defined as statics, for instance if attempting to use a feature that is /// newer than the current version of the SDK. /// public LoadBalancerTypeEnum(string value) : base(value) { } /// /// Finds the constant for the unique value. /// /// The unique value for the constant /// The constant for the unique value public static LoadBalancerTypeEnum FindValue(string value) { return FindValue(value); } /// /// Utility method to convert strings to the constant class. /// /// The string value to convert to the constant class. /// public static implicit operator LoadBalancerTypeEnum(string value) { return FindValue(value); } } /// /// Constants used for properties of type ProtocolEnum. /// public class ProtocolEnum : ConstantClass { /// /// Constant GENEVE for ProtocolEnum /// public static readonly ProtocolEnum GENEVE = new ProtocolEnum("GENEVE"); /// /// Constant HTTP for ProtocolEnum /// public static readonly ProtocolEnum HTTP = new ProtocolEnum("HTTP"); /// /// Constant HTTPS for ProtocolEnum /// public static readonly ProtocolEnum HTTPS = new ProtocolEnum("HTTPS"); /// /// Constant TCP for ProtocolEnum /// public static readonly ProtocolEnum TCP = new ProtocolEnum("TCP"); /// /// Constant TCP_UDP for ProtocolEnum /// public static readonly ProtocolEnum TCP_UDP = new ProtocolEnum("TCP_UDP"); /// /// Constant TLS for ProtocolEnum /// public static readonly ProtocolEnum TLS = new ProtocolEnum("TLS"); /// /// Constant UDP for ProtocolEnum /// public static readonly ProtocolEnum UDP = new ProtocolEnum("UDP"); /// /// This constant constructor does not need to be called if the constant /// you are attempting to use is already defined as a static instance of /// this class. /// This constructor should be used to construct constants that are not /// defined as statics, for instance if attempting to use a feature that is /// newer than the current version of the SDK. /// public ProtocolEnum(string value) : base(value) { } /// /// Finds the constant for the unique value. /// /// The unique value for the constant /// The constant for the unique value public static ProtocolEnum FindValue(string value) { return FindValue(value); } /// /// Utility method to convert strings to the constant class. /// /// The string value to convert to the constant class. /// public static implicit operator ProtocolEnum(string value) { return FindValue(value); } } /// /// Constants used for properties of type RedirectActionStatusCodeEnum. /// public class RedirectActionStatusCodeEnum : ConstantClass { /// /// Constant HTTP_301 for RedirectActionStatusCodeEnum /// public static readonly RedirectActionStatusCodeEnum HTTP_301 = new RedirectActionStatusCodeEnum("HTTP_301"); /// /// Constant HTTP_302 for RedirectActionStatusCodeEnum /// public static readonly RedirectActionStatusCodeEnum HTTP_302 = new RedirectActionStatusCodeEnum("HTTP_302"); /// /// This constant constructor does not need to be called if the constant /// you are attempting to use is already defined as a static instance of /// this class. /// This constructor should be used to construct constants that are not /// defined as statics, for instance if attempting to use a feature that is /// newer than the current version of the SDK. /// public RedirectActionStatusCodeEnum(string value) : base(value) { } /// /// Finds the constant for the unique value. /// /// The unique value for the constant /// The constant for the unique value public static RedirectActionStatusCodeEnum FindValue(string value) { return FindValue(value); } /// /// Utility method to convert strings to the constant class. /// /// The string value to convert to the constant class. /// public static implicit operator RedirectActionStatusCodeEnum(string value) { return FindValue(value); } } /// /// Constants used for properties of type TargetGroupIpAddressTypeEnum. /// public class TargetGroupIpAddressTypeEnum : ConstantClass { /// /// Constant Ipv4 for TargetGroupIpAddressTypeEnum /// public static readonly TargetGroupIpAddressTypeEnum Ipv4 = new TargetGroupIpAddressTypeEnum("ipv4"); /// /// Constant Ipv6 for TargetGroupIpAddressTypeEnum /// public static readonly TargetGroupIpAddressTypeEnum Ipv6 = new TargetGroupIpAddressTypeEnum("ipv6"); /// /// This constant constructor does not need to be called if the constant /// you are attempting to use is already defined as a static instance of /// this class. /// This constructor should be used to construct constants that are not /// defined as statics, for instance if attempting to use a feature that is /// newer than the current version of the SDK. /// public TargetGroupIpAddressTypeEnum(string value) : base(value) { } /// /// Finds the constant for the unique value. /// /// The unique value for the constant /// The constant for the unique value public static TargetGroupIpAddressTypeEnum FindValue(string value) { return FindValue(value); } /// /// Utility method to convert strings to the constant class. /// /// The string value to convert to the constant class. /// public static implicit operator TargetGroupIpAddressTypeEnum(string value) { return FindValue(value); } } /// /// Constants used for properties of type TargetHealthReasonEnum. /// public class TargetHealthReasonEnum : ConstantClass { /// /// Constant ElbInitialHealthChecking for TargetHealthReasonEnum /// public static readonly TargetHealthReasonEnum ElbInitialHealthChecking = new TargetHealthReasonEnum("Elb.InitialHealthChecking"); /// /// Constant ElbInternalError for TargetHealthReasonEnum /// public static readonly TargetHealthReasonEnum ElbInternalError = new TargetHealthReasonEnum("Elb.InternalError"); /// /// Constant ElbRegistrationInProgress for TargetHealthReasonEnum /// public static readonly TargetHealthReasonEnum ElbRegistrationInProgress = new TargetHealthReasonEnum("Elb.RegistrationInProgress"); /// /// Constant TargetDeregistrationInProgress for TargetHealthReasonEnum /// public static readonly TargetHealthReasonEnum TargetDeregistrationInProgress = new TargetHealthReasonEnum("Target.DeregistrationInProgress"); /// /// Constant TargetFailedHealthChecks for TargetHealthReasonEnum /// public static readonly TargetHealthReasonEnum TargetFailedHealthChecks = new TargetHealthReasonEnum("Target.FailedHealthChecks"); /// /// Constant TargetHealthCheckDisabled for TargetHealthReasonEnum /// public static readonly TargetHealthReasonEnum TargetHealthCheckDisabled = new TargetHealthReasonEnum("Target.HealthCheckDisabled"); /// /// Constant TargetInvalidState for TargetHealthReasonEnum /// public static readonly TargetHealthReasonEnum TargetInvalidState = new TargetHealthReasonEnum("Target.InvalidState"); /// /// Constant TargetIpUnusable for TargetHealthReasonEnum /// public static readonly TargetHealthReasonEnum TargetIpUnusable = new TargetHealthReasonEnum("Target.IpUnusable"); /// /// Constant TargetNotInUse for TargetHealthReasonEnum /// public static readonly TargetHealthReasonEnum TargetNotInUse = new TargetHealthReasonEnum("Target.NotInUse"); /// /// Constant TargetNotRegistered for TargetHealthReasonEnum /// public static readonly TargetHealthReasonEnum TargetNotRegistered = new TargetHealthReasonEnum("Target.NotRegistered"); /// /// Constant TargetResponseCodeMismatch for TargetHealthReasonEnum /// public static readonly TargetHealthReasonEnum TargetResponseCodeMismatch = new TargetHealthReasonEnum("Target.ResponseCodeMismatch"); /// /// Constant TargetTimeout for TargetHealthReasonEnum /// public static readonly TargetHealthReasonEnum TargetTimeout = new TargetHealthReasonEnum("Target.Timeout"); /// /// This constant constructor does not need to be called if the constant /// you are attempting to use is already defined as a static instance of /// this class. /// This constructor should be used to construct constants that are not /// defined as statics, for instance if attempting to use a feature that is /// newer than the current version of the SDK. /// public TargetHealthReasonEnum(string value) : base(value) { } /// /// Finds the constant for the unique value. /// /// The unique value for the constant /// The constant for the unique value public static TargetHealthReasonEnum FindValue(string value) { return FindValue(value); } /// /// Utility method to convert strings to the constant class. /// /// The string value to convert to the constant class. /// public static implicit operator TargetHealthReasonEnum(string value) { return FindValue(value); } } /// /// Constants used for properties of type TargetHealthStateEnum. /// public class TargetHealthStateEnum : ConstantClass { /// /// Constant Draining for TargetHealthStateEnum /// public static readonly TargetHealthStateEnum Draining = new TargetHealthStateEnum("draining"); /// /// Constant Healthy for TargetHealthStateEnum /// public static readonly TargetHealthStateEnum Healthy = new TargetHealthStateEnum("healthy"); /// /// Constant Initial for TargetHealthStateEnum /// public static readonly TargetHealthStateEnum Initial = new TargetHealthStateEnum("initial"); /// /// Constant Unavailable for TargetHealthStateEnum /// public static readonly TargetHealthStateEnum Unavailable = new TargetHealthStateEnum("unavailable"); /// /// Constant Unhealthy for TargetHealthStateEnum /// public static readonly TargetHealthStateEnum Unhealthy = new TargetHealthStateEnum("unhealthy"); /// /// Constant Unused for TargetHealthStateEnum /// public static readonly TargetHealthStateEnum Unused = new TargetHealthStateEnum("unused"); /// /// This constant constructor does not need to be called if the constant /// you are attempting to use is already defined as a static instance of /// this class. /// This constructor should be used to construct constants that are not /// defined as statics, for instance if attempting to use a feature that is /// newer than the current version of the SDK. /// public TargetHealthStateEnum(string value) : base(value) { } /// /// Finds the constant for the unique value. /// /// The unique value for the constant /// The constant for the unique value public static TargetHealthStateEnum FindValue(string value) { return FindValue(value); } /// /// Utility method to convert strings to the constant class. /// /// The string value to convert to the constant class. /// public static implicit operator TargetHealthStateEnum(string value) { return FindValue(value); } } /// /// Constants used for properties of type TargetTypeEnum. /// public class TargetTypeEnum : ConstantClass { /// /// Constant Alb for TargetTypeEnum /// public static readonly TargetTypeEnum Alb = new TargetTypeEnum("alb"); /// /// Constant Instance for TargetTypeEnum /// public static readonly TargetTypeEnum Instance = new TargetTypeEnum("instance"); /// /// Constant Ip for TargetTypeEnum /// public static readonly TargetTypeEnum Ip = new TargetTypeEnum("ip"); /// /// Constant Lambda for TargetTypeEnum /// public static readonly TargetTypeEnum Lambda = new TargetTypeEnum("lambda"); /// /// This constant constructor does not need to be called if the constant /// you are attempting to use is already defined as a static instance of /// this class. /// This constructor should be used to construct constants that are not /// defined as statics, for instance if attempting to use a feature that is /// newer than the current version of the SDK. /// public TargetTypeEnum(string value) : base(value) { } /// /// Finds the constant for the unique value. /// /// The unique value for the constant /// The constant for the unique value public static TargetTypeEnum FindValue(string value) { return FindValue(value); } /// /// Utility method to convert strings to the constant class. /// /// The string value to convert to the constant class. /// public static implicit operator TargetTypeEnum(string value) { return FindValue(value); } } }