/* * 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 application-autoscaling-2016-02-06.normal.json service model. */ using System; using Amazon.Runtime; namespace Amazon.ApplicationAutoScaling { /// /// Constants used for properties of type AdjustmentType. /// public class AdjustmentType : ConstantClass { /// /// Constant ChangeInCapacity for AdjustmentType /// public static readonly AdjustmentType ChangeInCapacity = new AdjustmentType("ChangeInCapacity"); /// /// Constant ExactCapacity for AdjustmentType /// public static readonly AdjustmentType ExactCapacity = new AdjustmentType("ExactCapacity"); /// /// Constant PercentChangeInCapacity for AdjustmentType /// public static readonly AdjustmentType PercentChangeInCapacity = new AdjustmentType("PercentChangeInCapacity"); /// /// 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 AdjustmentType(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 AdjustmentType 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 AdjustmentType(string value) { return FindValue(value); } } /// /// Constants used for properties of type MetricAggregationType. /// public class MetricAggregationType : ConstantClass { /// /// Constant Average for MetricAggregationType /// public static readonly MetricAggregationType Average = new MetricAggregationType("Average"); /// /// Constant Maximum for MetricAggregationType /// public static readonly MetricAggregationType Maximum = new MetricAggregationType("Maximum"); /// /// Constant Minimum for MetricAggregationType /// public static readonly MetricAggregationType Minimum = new MetricAggregationType("Minimum"); /// /// 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 MetricAggregationType(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 MetricAggregationType 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 MetricAggregationType(string value) { return FindValue(value); } } /// /// Constants used for properties of type MetricStatistic. /// public class MetricStatistic : ConstantClass { /// /// Constant Average for MetricStatistic /// public static readonly MetricStatistic Average = new MetricStatistic("Average"); /// /// Constant Maximum for MetricStatistic /// public static readonly MetricStatistic Maximum = new MetricStatistic("Maximum"); /// /// Constant Minimum for MetricStatistic /// public static readonly MetricStatistic Minimum = new MetricStatistic("Minimum"); /// /// Constant SampleCount for MetricStatistic /// public static readonly MetricStatistic SampleCount = new MetricStatistic("SampleCount"); /// /// Constant Sum for MetricStatistic /// public static readonly MetricStatistic Sum = new MetricStatistic("Sum"); /// /// 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 MetricStatistic(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 MetricStatistic 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 MetricStatistic(string value) { return FindValue(value); } } /// /// Constants used for properties of type MetricType. /// public class MetricType : ConstantClass { /// /// Constant ALBRequestCountPerTarget for MetricType /// public static readonly MetricType ALBRequestCountPerTarget = new MetricType("ALBRequestCountPerTarget"); /// /// Constant AppStreamAverageCapacityUtilization for MetricType /// public static readonly MetricType AppStreamAverageCapacityUtilization = new MetricType("AppStreamAverageCapacityUtilization"); /// /// Constant CassandraReadCapacityUtilization for MetricType /// public static readonly MetricType CassandraReadCapacityUtilization = new MetricType("CassandraReadCapacityUtilization"); /// /// Constant CassandraWriteCapacityUtilization for MetricType /// public static readonly MetricType CassandraWriteCapacityUtilization = new MetricType("CassandraWriteCapacityUtilization"); /// /// Constant ComprehendInferenceUtilization for MetricType /// public static readonly MetricType ComprehendInferenceUtilization = new MetricType("ComprehendInferenceUtilization"); /// /// Constant DynamoDBReadCapacityUtilization for MetricType /// public static readonly MetricType DynamoDBReadCapacityUtilization = new MetricType("DynamoDBReadCapacityUtilization"); /// /// Constant DynamoDBWriteCapacityUtilization for MetricType /// public static readonly MetricType DynamoDBWriteCapacityUtilization = new MetricType("DynamoDBWriteCapacityUtilization"); /// /// Constant EC2SpotFleetRequestAverageCPUUtilization for MetricType /// public static readonly MetricType EC2SpotFleetRequestAverageCPUUtilization = new MetricType("EC2SpotFleetRequestAverageCPUUtilization"); /// /// Constant EC2SpotFleetRequestAverageNetworkIn for MetricType /// public static readonly MetricType EC2SpotFleetRequestAverageNetworkIn = new MetricType("EC2SpotFleetRequestAverageNetworkIn"); /// /// Constant EC2SpotFleetRequestAverageNetworkOut for MetricType /// public static readonly MetricType EC2SpotFleetRequestAverageNetworkOut = new MetricType("EC2SpotFleetRequestAverageNetworkOut"); /// /// Constant ECSServiceAverageCPUUtilization for MetricType /// public static readonly MetricType ECSServiceAverageCPUUtilization = new MetricType("ECSServiceAverageCPUUtilization"); /// /// Constant ECSServiceAverageMemoryUtilization for MetricType /// public static readonly MetricType ECSServiceAverageMemoryUtilization = new MetricType("ECSServiceAverageMemoryUtilization"); /// /// Constant ElastiCacheDatabaseCapacityUsageCountedForEvictPercentage for MetricType /// public static readonly MetricType ElastiCacheDatabaseCapacityUsageCountedForEvictPercentage = new MetricType("ElastiCacheDatabaseCapacityUsageCountedForEvictPercentage"); /// /// Constant ElastiCacheDatabaseMemoryUsageCountedForEvictPercentage for MetricType /// public static readonly MetricType ElastiCacheDatabaseMemoryUsageCountedForEvictPercentage = new MetricType("ElastiCacheDatabaseMemoryUsageCountedForEvictPercentage"); /// /// Constant ElastiCachePrimaryEngineCPUUtilization for MetricType /// public static readonly MetricType ElastiCachePrimaryEngineCPUUtilization = new MetricType("ElastiCachePrimaryEngineCPUUtilization"); /// /// Constant ElastiCacheReplicaEngineCPUUtilization for MetricType /// public static readonly MetricType ElastiCacheReplicaEngineCPUUtilization = new MetricType("ElastiCacheReplicaEngineCPUUtilization"); /// /// Constant KafkaBrokerStorageUtilization for MetricType /// public static readonly MetricType KafkaBrokerStorageUtilization = new MetricType("KafkaBrokerStorageUtilization"); /// /// Constant LambdaProvisionedConcurrencyUtilization for MetricType /// public static readonly MetricType LambdaProvisionedConcurrencyUtilization = new MetricType("LambdaProvisionedConcurrencyUtilization"); /// /// Constant NeptuneReaderAverageCPUUtilization for MetricType /// public static readonly MetricType NeptuneReaderAverageCPUUtilization = new MetricType("NeptuneReaderAverageCPUUtilization"); /// /// Constant RDSReaderAverageCPUUtilization for MetricType /// public static readonly MetricType RDSReaderAverageCPUUtilization = new MetricType("RDSReaderAverageCPUUtilization"); /// /// Constant RDSReaderAverageDatabaseConnections for MetricType /// public static readonly MetricType RDSReaderAverageDatabaseConnections = new MetricType("RDSReaderAverageDatabaseConnections"); /// /// Constant SageMakerVariantInvocationsPerInstance for MetricType /// public static readonly MetricType SageMakerVariantInvocationsPerInstance = new MetricType("SageMakerVariantInvocationsPerInstance"); /// /// Constant SageMakerVariantProvisionedConcurrencyUtilization for MetricType /// public static readonly MetricType SageMakerVariantProvisionedConcurrencyUtilization = new MetricType("SageMakerVariantProvisionedConcurrencyUtilization"); /// /// 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 MetricType(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 MetricType 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 MetricType(string value) { return FindValue(value); } } /// /// Constants used for properties of type PolicyType. /// public class PolicyType : ConstantClass { /// /// Constant StepScaling for PolicyType /// public static readonly PolicyType StepScaling = new PolicyType("StepScaling"); /// /// Constant TargetTrackingScaling for PolicyType /// public static readonly PolicyType TargetTrackingScaling = new PolicyType("TargetTrackingScaling"); /// /// 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 PolicyType(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 PolicyType 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 PolicyType(string value) { return FindValue(value); } } /// /// Constants used for properties of type ScalableDimension. /// public class ScalableDimension : ConstantClass { /// /// Constant AppstreamFleetDesiredCapacity for ScalableDimension /// public static readonly ScalableDimension AppstreamFleetDesiredCapacity = new ScalableDimension("appstream:fleet:DesiredCapacity"); /// /// Constant CassandraTableReadCapacityUnits for ScalableDimension /// public static readonly ScalableDimension CassandraTableReadCapacityUnits = new ScalableDimension("cassandra:table:ReadCapacityUnits"); /// /// Constant CassandraTableWriteCapacityUnits for ScalableDimension /// public static readonly ScalableDimension CassandraTableWriteCapacityUnits = new ScalableDimension("cassandra:table:WriteCapacityUnits"); /// /// Constant ComprehendDocumentClassifierEndpointDesiredInferenceUnits for ScalableDimension /// public static readonly ScalableDimension ComprehendDocumentClassifierEndpointDesiredInferenceUnits = new ScalableDimension("comprehend:document-classifier-endpoint:DesiredInferenceUnits"); /// /// Constant ComprehendEntityRecognizerEndpointDesiredInferenceUnits for ScalableDimension /// public static readonly ScalableDimension ComprehendEntityRecognizerEndpointDesiredInferenceUnits = new ScalableDimension("comprehend:entity-recognizer-endpoint:DesiredInferenceUnits"); /// /// Constant CustomResourceResourceTypeProperty for ScalableDimension /// public static readonly ScalableDimension CustomResourceResourceTypeProperty = new ScalableDimension("custom-resource:ResourceType:Property"); /// /// Constant DynamodbIndexReadCapacityUnits for ScalableDimension /// public static readonly ScalableDimension DynamodbIndexReadCapacityUnits = new ScalableDimension("dynamodb:index:ReadCapacityUnits"); /// /// Constant DynamodbIndexWriteCapacityUnits for ScalableDimension /// public static readonly ScalableDimension DynamodbIndexWriteCapacityUnits = new ScalableDimension("dynamodb:index:WriteCapacityUnits"); /// /// Constant DynamodbTableReadCapacityUnits for ScalableDimension /// public static readonly ScalableDimension DynamodbTableReadCapacityUnits = new ScalableDimension("dynamodb:table:ReadCapacityUnits"); /// /// Constant DynamodbTableWriteCapacityUnits for ScalableDimension /// public static readonly ScalableDimension DynamodbTableWriteCapacityUnits = new ScalableDimension("dynamodb:table:WriteCapacityUnits"); /// /// Constant Ec2SpotFleetRequestTargetCapacity for ScalableDimension /// public static readonly ScalableDimension Ec2SpotFleetRequestTargetCapacity = new ScalableDimension("ec2:spot-fleet-request:TargetCapacity"); /// /// Constant EcsServiceDesiredCount for ScalableDimension /// public static readonly ScalableDimension EcsServiceDesiredCount = new ScalableDimension("ecs:service:DesiredCount"); /// /// Constant ElasticacheReplicationGroupNodeGroups for ScalableDimension /// public static readonly ScalableDimension ElasticacheReplicationGroupNodeGroups = new ScalableDimension("elasticache:replication-group:NodeGroups"); /// /// Constant ElasticacheReplicationGroupReplicas for ScalableDimension /// public static readonly ScalableDimension ElasticacheReplicationGroupReplicas = new ScalableDimension("elasticache:replication-group:Replicas"); /// /// Constant ElasticmapreduceInstancegroupInstanceCount for ScalableDimension /// public static readonly ScalableDimension ElasticmapreduceInstancegroupInstanceCount = new ScalableDimension("elasticmapreduce:instancegroup:InstanceCount"); /// /// Constant KafkaBrokerStorageVolumeSize for ScalableDimension /// public static readonly ScalableDimension KafkaBrokerStorageVolumeSize = new ScalableDimension("kafka:broker-storage:VolumeSize"); /// /// Constant LambdaFunctionProvisionedConcurrency for ScalableDimension /// public static readonly ScalableDimension LambdaFunctionProvisionedConcurrency = new ScalableDimension("lambda:function:ProvisionedConcurrency"); /// /// Constant NeptuneClusterReadReplicaCount for ScalableDimension /// public static readonly ScalableDimension NeptuneClusterReadReplicaCount = new ScalableDimension("neptune:cluster:ReadReplicaCount"); /// /// Constant RdsClusterReadReplicaCount for ScalableDimension /// public static readonly ScalableDimension RdsClusterReadReplicaCount = new ScalableDimension("rds:cluster:ReadReplicaCount"); /// /// Constant SagemakerVariantDesiredInstanceCount for ScalableDimension /// public static readonly ScalableDimension SagemakerVariantDesiredInstanceCount = new ScalableDimension("sagemaker:variant:DesiredInstanceCount"); /// /// Constant SagemakerVariantDesiredProvisionedConcurrency for ScalableDimension /// public static readonly ScalableDimension SagemakerVariantDesiredProvisionedConcurrency = new ScalableDimension("sagemaker:variant:DesiredProvisionedConcurrency"); /// /// 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 ScalableDimension(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 ScalableDimension 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 ScalableDimension(string value) { return FindValue(value); } } /// /// Constants used for properties of type ScalingActivityStatusCode. /// public class ScalingActivityStatusCode : ConstantClass { /// /// Constant Failed for ScalingActivityStatusCode /// public static readonly ScalingActivityStatusCode Failed = new ScalingActivityStatusCode("Failed"); /// /// Constant InProgress for ScalingActivityStatusCode /// public static readonly ScalingActivityStatusCode InProgress = new ScalingActivityStatusCode("InProgress"); /// /// Constant Overridden for ScalingActivityStatusCode /// public static readonly ScalingActivityStatusCode Overridden = new ScalingActivityStatusCode("Overridden"); /// /// Constant Pending for ScalingActivityStatusCode /// public static readonly ScalingActivityStatusCode Pending = new ScalingActivityStatusCode("Pending"); /// /// Constant Successful for ScalingActivityStatusCode /// public static readonly ScalingActivityStatusCode Successful = new ScalingActivityStatusCode("Successful"); /// /// Constant Unfulfilled for ScalingActivityStatusCode /// public static readonly ScalingActivityStatusCode Unfulfilled = new ScalingActivityStatusCode("Unfulfilled"); /// /// 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 ScalingActivityStatusCode(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 ScalingActivityStatusCode 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 ScalingActivityStatusCode(string value) { return FindValue(value); } } /// /// Constants used for properties of type ServiceNamespace. /// public class ServiceNamespace : ConstantClass { /// /// Constant Appstream for ServiceNamespace /// public static readonly ServiceNamespace Appstream = new ServiceNamespace("appstream"); /// /// Constant Cassandra for ServiceNamespace /// public static readonly ServiceNamespace Cassandra = new ServiceNamespace("cassandra"); /// /// Constant Comprehend for ServiceNamespace /// public static readonly ServiceNamespace Comprehend = new ServiceNamespace("comprehend"); /// /// Constant CustomResource for ServiceNamespace /// public static readonly ServiceNamespace CustomResource = new ServiceNamespace("custom-resource"); /// /// Constant Dynamodb for ServiceNamespace /// public static readonly ServiceNamespace Dynamodb = new ServiceNamespace("dynamodb"); /// /// Constant Ec2 for ServiceNamespace /// public static readonly ServiceNamespace Ec2 = new ServiceNamespace("ec2"); /// /// Constant Ecs for ServiceNamespace /// public static readonly ServiceNamespace Ecs = new ServiceNamespace("ecs"); /// /// Constant Elasticache for ServiceNamespace /// public static readonly ServiceNamespace Elasticache = new ServiceNamespace("elasticache"); /// /// Constant Elasticmapreduce for ServiceNamespace /// public static readonly ServiceNamespace Elasticmapreduce = new ServiceNamespace("elasticmapreduce"); /// /// Constant Kafka for ServiceNamespace /// public static readonly ServiceNamespace Kafka = new ServiceNamespace("kafka"); /// /// Constant Lambda for ServiceNamespace /// public static readonly ServiceNamespace Lambda = new ServiceNamespace("lambda"); /// /// Constant Neptune for ServiceNamespace /// public static readonly ServiceNamespace Neptune = new ServiceNamespace("neptune"); /// /// Constant Rds for ServiceNamespace /// public static readonly ServiceNamespace Rds = new ServiceNamespace("rds"); /// /// Constant Sagemaker for ServiceNamespace /// public static readonly ServiceNamespace Sagemaker = new ServiceNamespace("sagemaker"); /// /// 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 ServiceNamespace(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 ServiceNamespace 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 ServiceNamespace(string value) { return FindValue(value); } } }