/*
* 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 vpc-lattice-2022-11-30.normal.json service model.
*/
using System;
using Amazon.Runtime;
namespace Amazon.VPCLattice
{
///
/// Constants used for properties of type AuthPolicyState.
///
public class AuthPolicyState : ConstantClass
{
///
/// Constant Active for AuthPolicyState
///
public static readonly AuthPolicyState Active = new AuthPolicyState("Active");
///
/// Constant Inactive for AuthPolicyState
///
public static readonly AuthPolicyState Inactive = new AuthPolicyState("Inactive");
///
/// 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 AuthPolicyState(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 AuthPolicyState 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 AuthPolicyState(string value)
{
return FindValue(value);
}
}
///
/// Constants used for properties of type AuthType.
///
public class AuthType : ConstantClass
{
///
/// Constant AWS_IAM for AuthType
///
public static readonly AuthType AWS_IAM = new AuthType("AWS_IAM");
///
/// Constant NONE for AuthType
///
public static readonly AuthType NONE = new AuthType("NONE");
///
/// 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 AuthType(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 AuthType 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 AuthType(string value)
{
return FindValue(value);
}
}
///
/// Constants used for properties of type HealthCheckProtocolVersion.
///
public class HealthCheckProtocolVersion : ConstantClass
{
///
/// Constant HTTP1 for HealthCheckProtocolVersion
///
public static readonly HealthCheckProtocolVersion HTTP1 = new HealthCheckProtocolVersion("HTTP1");
///
/// Constant HTTP2 for HealthCheckProtocolVersion
///
public static readonly HealthCheckProtocolVersion HTTP2 = new HealthCheckProtocolVersion("HTTP2");
///
/// 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 HealthCheckProtocolVersion(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 HealthCheckProtocolVersion 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 HealthCheckProtocolVersion(string value)
{
return FindValue(value);
}
}
///
/// Constants used for properties of type IpAddressType.
///
public class IpAddressType : ConstantClass
{
///
/// Constant IPV4 for IpAddressType
///
public static readonly IpAddressType IPV4 = new IpAddressType("IPV4");
///
/// Constant IPV6 for IpAddressType
///
public static readonly IpAddressType IPV6 = new IpAddressType("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 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 ListenerProtocol.
///
public class ListenerProtocol : ConstantClass
{
///
/// Constant HTTP for ListenerProtocol
///
public static readonly ListenerProtocol HTTP = new ListenerProtocol("HTTP");
///
/// Constant HTTPS for ListenerProtocol
///
public static readonly ListenerProtocol HTTPS = new ListenerProtocol("HTTPS");
///
/// 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 ListenerProtocol(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 ListenerProtocol 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 ListenerProtocol(string value)
{
return FindValue(value);
}
}
///
/// Constants used for properties of type ServiceNetworkServiceAssociationStatus.
///
public class ServiceNetworkServiceAssociationStatus : ConstantClass
{
///
/// Constant ACTIVE for ServiceNetworkServiceAssociationStatus
///
public static readonly ServiceNetworkServiceAssociationStatus ACTIVE = new ServiceNetworkServiceAssociationStatus("ACTIVE");
///
/// Constant CREATE_FAILED for ServiceNetworkServiceAssociationStatus
///
public static readonly ServiceNetworkServiceAssociationStatus CREATE_FAILED = new ServiceNetworkServiceAssociationStatus("CREATE_FAILED");
///
/// Constant CREATE_IN_PROGRESS for ServiceNetworkServiceAssociationStatus
///
public static readonly ServiceNetworkServiceAssociationStatus CREATE_IN_PROGRESS = new ServiceNetworkServiceAssociationStatus("CREATE_IN_PROGRESS");
///
/// Constant DELETE_FAILED for ServiceNetworkServiceAssociationStatus
///
public static readonly ServiceNetworkServiceAssociationStatus DELETE_FAILED = new ServiceNetworkServiceAssociationStatus("DELETE_FAILED");
///
/// Constant DELETE_IN_PROGRESS for ServiceNetworkServiceAssociationStatus
///
public static readonly ServiceNetworkServiceAssociationStatus DELETE_IN_PROGRESS = new ServiceNetworkServiceAssociationStatus("DELETE_IN_PROGRESS");
///
/// 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 ServiceNetworkServiceAssociationStatus(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 ServiceNetworkServiceAssociationStatus 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 ServiceNetworkServiceAssociationStatus(string value)
{
return FindValue(value);
}
}
///
/// Constants used for properties of type ServiceNetworkVpcAssociationStatus.
///
public class ServiceNetworkVpcAssociationStatus : ConstantClass
{
///
/// Constant ACTIVE for ServiceNetworkVpcAssociationStatus
///
public static readonly ServiceNetworkVpcAssociationStatus ACTIVE = new ServiceNetworkVpcAssociationStatus("ACTIVE");
///
/// Constant CREATE_FAILED for ServiceNetworkVpcAssociationStatus
///
public static readonly ServiceNetworkVpcAssociationStatus CREATE_FAILED = new ServiceNetworkVpcAssociationStatus("CREATE_FAILED");
///
/// Constant CREATE_IN_PROGRESS for ServiceNetworkVpcAssociationStatus
///
public static readonly ServiceNetworkVpcAssociationStatus CREATE_IN_PROGRESS = new ServiceNetworkVpcAssociationStatus("CREATE_IN_PROGRESS");
///
/// Constant DELETE_FAILED for ServiceNetworkVpcAssociationStatus
///
public static readonly ServiceNetworkVpcAssociationStatus DELETE_FAILED = new ServiceNetworkVpcAssociationStatus("DELETE_FAILED");
///
/// Constant DELETE_IN_PROGRESS for ServiceNetworkVpcAssociationStatus
///
public static readonly ServiceNetworkVpcAssociationStatus DELETE_IN_PROGRESS = new ServiceNetworkVpcAssociationStatus("DELETE_IN_PROGRESS");
///
/// Constant UPDATE_FAILED for ServiceNetworkVpcAssociationStatus
///
public static readonly ServiceNetworkVpcAssociationStatus UPDATE_FAILED = new ServiceNetworkVpcAssociationStatus("UPDATE_FAILED");
///
/// Constant UPDATE_IN_PROGRESS for ServiceNetworkVpcAssociationStatus
///
public static readonly ServiceNetworkVpcAssociationStatus UPDATE_IN_PROGRESS = new ServiceNetworkVpcAssociationStatus("UPDATE_IN_PROGRESS");
///
/// 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 ServiceNetworkVpcAssociationStatus(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 ServiceNetworkVpcAssociationStatus 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 ServiceNetworkVpcAssociationStatus(string value)
{
return FindValue(value);
}
}
///
/// Constants used for properties of type ServiceStatus.
///
public class ServiceStatus : ConstantClass
{
///
/// Constant ACTIVE for ServiceStatus
///
public static readonly ServiceStatus ACTIVE = new ServiceStatus("ACTIVE");
///
/// Constant CREATE_FAILED for ServiceStatus
///
public static readonly ServiceStatus CREATE_FAILED = new ServiceStatus("CREATE_FAILED");
///
/// Constant CREATE_IN_PROGRESS for ServiceStatus
///
public static readonly ServiceStatus CREATE_IN_PROGRESS = new ServiceStatus("CREATE_IN_PROGRESS");
///
/// Constant DELETE_FAILED for ServiceStatus
///
public static readonly ServiceStatus DELETE_FAILED = new ServiceStatus("DELETE_FAILED");
///
/// Constant DELETE_IN_PROGRESS for ServiceStatus
///
public static readonly ServiceStatus DELETE_IN_PROGRESS = new ServiceStatus("DELETE_IN_PROGRESS");
///
/// 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 ServiceStatus(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 ServiceStatus 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 ServiceStatus(string value)
{
return FindValue(value);
}
}
///
/// Constants used for properties of type TargetGroupProtocol.
///
public class TargetGroupProtocol : ConstantClass
{
///
/// Constant HTTP for TargetGroupProtocol
///
public static readonly TargetGroupProtocol HTTP = new TargetGroupProtocol("HTTP");
///
/// Constant HTTPS for TargetGroupProtocol
///
public static readonly TargetGroupProtocol HTTPS = new TargetGroupProtocol("HTTPS");
///
/// 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 TargetGroupProtocol(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 TargetGroupProtocol 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 TargetGroupProtocol(string value)
{
return FindValue(value);
}
}
///
/// Constants used for properties of type TargetGroupProtocolVersion.
///
public class TargetGroupProtocolVersion : ConstantClass
{
///
/// Constant GRPC for TargetGroupProtocolVersion
///
public static readonly TargetGroupProtocolVersion GRPC = new TargetGroupProtocolVersion("GRPC");
///
/// Constant HTTP1 for TargetGroupProtocolVersion
///
public static readonly TargetGroupProtocolVersion HTTP1 = new TargetGroupProtocolVersion("HTTP1");
///
/// Constant HTTP2 for TargetGroupProtocolVersion
///
public static readonly TargetGroupProtocolVersion HTTP2 = new TargetGroupProtocolVersion("HTTP2");
///
/// 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 TargetGroupProtocolVersion(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 TargetGroupProtocolVersion 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 TargetGroupProtocolVersion(string value)
{
return FindValue(value);
}
}
///
/// Constants used for properties of type TargetGroupStatus.
///
public class TargetGroupStatus : ConstantClass
{
///
/// Constant ACTIVE for TargetGroupStatus
///
public static readonly TargetGroupStatus ACTIVE = new TargetGroupStatus("ACTIVE");
///
/// Constant CREATE_FAILED for TargetGroupStatus
///
public static readonly TargetGroupStatus CREATE_FAILED = new TargetGroupStatus("CREATE_FAILED");
///
/// Constant CREATE_IN_PROGRESS for TargetGroupStatus
///
public static readonly TargetGroupStatus CREATE_IN_PROGRESS = new TargetGroupStatus("CREATE_IN_PROGRESS");
///
/// Constant DELETE_FAILED for TargetGroupStatus
///
public static readonly TargetGroupStatus DELETE_FAILED = new TargetGroupStatus("DELETE_FAILED");
///
/// Constant DELETE_IN_PROGRESS for TargetGroupStatus
///
public static readonly TargetGroupStatus DELETE_IN_PROGRESS = new TargetGroupStatus("DELETE_IN_PROGRESS");
///
/// 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 TargetGroupStatus(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 TargetGroupStatus 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 TargetGroupStatus(string value)
{
return FindValue(value);
}
}
///
/// Constants used for properties of type TargetGroupType.
///
public class TargetGroupType : ConstantClass
{
///
/// Constant ALB for TargetGroupType
///
public static readonly TargetGroupType ALB = new TargetGroupType("ALB");
///
/// Constant INSTANCE for TargetGroupType
///
public static readonly TargetGroupType INSTANCE = new TargetGroupType("INSTANCE");
///
/// Constant IP for TargetGroupType
///
public static readonly TargetGroupType IP = new TargetGroupType("IP");
///
/// Constant LAMBDA for TargetGroupType
///
public static readonly TargetGroupType LAMBDA = new TargetGroupType("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 TargetGroupType(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 TargetGroupType 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 TargetGroupType(string value)
{
return FindValue(value);
}
}
///
/// Constants used for properties of type TargetStatus.
///
public class TargetStatus : ConstantClass
{
///
/// Constant DRAINING for TargetStatus
///
public static readonly TargetStatus DRAINING = new TargetStatus("DRAINING");
///
/// Constant HEALTHY for TargetStatus
///
public static readonly TargetStatus HEALTHY = new TargetStatus("HEALTHY");
///
/// Constant INITIAL for TargetStatus
///
public static readonly TargetStatus INITIAL = new TargetStatus("INITIAL");
///
/// Constant UNAVAILABLE for TargetStatus
///
public static readonly TargetStatus UNAVAILABLE = new TargetStatus("UNAVAILABLE");
///
/// Constant UNHEALTHY for TargetStatus
///
public static readonly TargetStatus UNHEALTHY = new TargetStatus("UNHEALTHY");
///
/// Constant UNUSED for TargetStatus
///
public static readonly TargetStatus UNUSED = new TargetStatus("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 TargetStatus(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 TargetStatus 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 TargetStatus(string value)
{
return FindValue(value);
}
}
///
/// Constants used for properties of type ValidationExceptionReason.
///
public class ValidationExceptionReason : ConstantClass
{
///
/// Constant CannotParse for ValidationExceptionReason
///
public static readonly ValidationExceptionReason CannotParse = new ValidationExceptionReason("cannotParse");
///
/// Constant FieldValidationFailed for ValidationExceptionReason
///
public static readonly ValidationExceptionReason FieldValidationFailed = new ValidationExceptionReason("fieldValidationFailed");
///
/// Constant Other for ValidationExceptionReason
///
public static readonly ValidationExceptionReason Other = new ValidationExceptionReason("other");
///
/// Constant UnknownOperation for ValidationExceptionReason
///
public static readonly ValidationExceptionReason UnknownOperation = new ValidationExceptionReason("unknownOperation");
///
/// 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 ValidationExceptionReason(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 ValidationExceptionReason 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 ValidationExceptionReason(string value)
{
return FindValue(value);
}
}
}