/* * 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 autoscaling-plans-2018-01-06.normal.json service model. */ using System; using Amazon.Runtime; namespace Amazon.AutoScalingPlans { /// /// Constants used for properties of type ForecastDataType. /// public class ForecastDataType : ConstantClass { /// /// Constant CapacityForecast for ForecastDataType /// public static readonly ForecastDataType CapacityForecast = new ForecastDataType("CapacityForecast"); /// /// Constant LoadForecast for ForecastDataType /// public static readonly ForecastDataType LoadForecast = new ForecastDataType("LoadForecast"); /// /// Constant ScheduledActionMaxCapacity for ForecastDataType /// public static readonly ForecastDataType ScheduledActionMaxCapacity = new ForecastDataType("ScheduledActionMaxCapacity"); /// /// Constant ScheduledActionMinCapacity for ForecastDataType /// public static readonly ForecastDataType ScheduledActionMinCapacity = new ForecastDataType("ScheduledActionMinCapacity"); /// /// 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 ForecastDataType(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 ForecastDataType 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 ForecastDataType(string value) { return FindValue(value); } } /// /// Constants used for properties of type LoadMetricType. /// public class LoadMetricType : ConstantClass { /// /// Constant ALBTargetGroupRequestCount for LoadMetricType /// public static readonly LoadMetricType ALBTargetGroupRequestCount = new LoadMetricType("ALBTargetGroupRequestCount"); /// /// Constant ASGTotalCPUUtilization for LoadMetricType /// public static readonly LoadMetricType ASGTotalCPUUtilization = new LoadMetricType("ASGTotalCPUUtilization"); /// /// Constant ASGTotalNetworkIn for LoadMetricType /// public static readonly LoadMetricType ASGTotalNetworkIn = new LoadMetricType("ASGTotalNetworkIn"); /// /// Constant ASGTotalNetworkOut for LoadMetricType /// public static readonly LoadMetricType ASGTotalNetworkOut = new LoadMetricType("ASGTotalNetworkOut"); /// /// 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 LoadMetricType(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 LoadMetricType 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 LoadMetricType(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 PolicyType. /// public class PolicyType : ConstantClass { /// /// 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 PredictiveScalingMaxCapacityBehavior. /// public class PredictiveScalingMaxCapacityBehavior : ConstantClass { /// /// Constant SetForecastCapacityToMaxCapacity for PredictiveScalingMaxCapacityBehavior /// public static readonly PredictiveScalingMaxCapacityBehavior SetForecastCapacityToMaxCapacity = new PredictiveScalingMaxCapacityBehavior("SetForecastCapacityToMaxCapacity"); /// /// Constant SetMaxCapacityAboveForecastCapacity for PredictiveScalingMaxCapacityBehavior /// public static readonly PredictiveScalingMaxCapacityBehavior SetMaxCapacityAboveForecastCapacity = new PredictiveScalingMaxCapacityBehavior("SetMaxCapacityAboveForecastCapacity"); /// /// Constant SetMaxCapacityToForecastCapacity for PredictiveScalingMaxCapacityBehavior /// public static readonly PredictiveScalingMaxCapacityBehavior SetMaxCapacityToForecastCapacity = new PredictiveScalingMaxCapacityBehavior("SetMaxCapacityToForecastCapacity"); /// /// 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 PredictiveScalingMaxCapacityBehavior(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 PredictiveScalingMaxCapacityBehavior 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 PredictiveScalingMaxCapacityBehavior(string value) { return FindValue(value); } } /// /// Constants used for properties of type PredictiveScalingMode. /// public class PredictiveScalingMode : ConstantClass { /// /// Constant ForecastAndScale for PredictiveScalingMode /// public static readonly PredictiveScalingMode ForecastAndScale = new PredictiveScalingMode("ForecastAndScale"); /// /// Constant ForecastOnly for PredictiveScalingMode /// public static readonly PredictiveScalingMode ForecastOnly = new PredictiveScalingMode("ForecastOnly"); /// /// 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 PredictiveScalingMode(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 PredictiveScalingMode 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 PredictiveScalingMode(string value) { return FindValue(value); } } /// /// Constants used for properties of type ScalableDimension. /// public class ScalableDimension : ConstantClass { /// /// Constant AutoscalingAutoScalingGroupDesiredCapacity for ScalableDimension /// public static readonly ScalableDimension AutoscalingAutoScalingGroupDesiredCapacity = new ScalableDimension("autoscaling:autoScalingGroup:DesiredCapacity"); /// /// 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 RdsClusterReadReplicaCount for ScalableDimension /// public static readonly ScalableDimension RdsClusterReadReplicaCount = new ScalableDimension("rds:cluster:ReadReplicaCount"); /// /// 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 ScalingMetricType. /// public class ScalingMetricType : ConstantClass { /// /// Constant ALBRequestCountPerTarget for ScalingMetricType /// public static readonly ScalingMetricType ALBRequestCountPerTarget = new ScalingMetricType("ALBRequestCountPerTarget"); /// /// Constant ASGAverageCPUUtilization for ScalingMetricType /// public static readonly ScalingMetricType ASGAverageCPUUtilization = new ScalingMetricType("ASGAverageCPUUtilization"); /// /// Constant ASGAverageNetworkIn for ScalingMetricType /// public static readonly ScalingMetricType ASGAverageNetworkIn = new ScalingMetricType("ASGAverageNetworkIn"); /// /// Constant ASGAverageNetworkOut for ScalingMetricType /// public static readonly ScalingMetricType ASGAverageNetworkOut = new ScalingMetricType("ASGAverageNetworkOut"); /// /// Constant DynamoDBReadCapacityUtilization for ScalingMetricType /// public static readonly ScalingMetricType DynamoDBReadCapacityUtilization = new ScalingMetricType("DynamoDBReadCapacityUtilization"); /// /// Constant DynamoDBWriteCapacityUtilization for ScalingMetricType /// public static readonly ScalingMetricType DynamoDBWriteCapacityUtilization = new ScalingMetricType("DynamoDBWriteCapacityUtilization"); /// /// Constant EC2SpotFleetRequestAverageCPUUtilization for ScalingMetricType /// public static readonly ScalingMetricType EC2SpotFleetRequestAverageCPUUtilization = new ScalingMetricType("EC2SpotFleetRequestAverageCPUUtilization"); /// /// Constant EC2SpotFleetRequestAverageNetworkIn for ScalingMetricType /// public static readonly ScalingMetricType EC2SpotFleetRequestAverageNetworkIn = new ScalingMetricType("EC2SpotFleetRequestAverageNetworkIn"); /// /// Constant EC2SpotFleetRequestAverageNetworkOut for ScalingMetricType /// public static readonly ScalingMetricType EC2SpotFleetRequestAverageNetworkOut = new ScalingMetricType("EC2SpotFleetRequestAverageNetworkOut"); /// /// Constant ECSServiceAverageCPUUtilization for ScalingMetricType /// public static readonly ScalingMetricType ECSServiceAverageCPUUtilization = new ScalingMetricType("ECSServiceAverageCPUUtilization"); /// /// Constant ECSServiceAverageMemoryUtilization for ScalingMetricType /// public static readonly ScalingMetricType ECSServiceAverageMemoryUtilization = new ScalingMetricType("ECSServiceAverageMemoryUtilization"); /// /// Constant RDSReaderAverageCPUUtilization for ScalingMetricType /// public static readonly ScalingMetricType RDSReaderAverageCPUUtilization = new ScalingMetricType("RDSReaderAverageCPUUtilization"); /// /// Constant RDSReaderAverageDatabaseConnections for ScalingMetricType /// public static readonly ScalingMetricType RDSReaderAverageDatabaseConnections = new ScalingMetricType("RDSReaderAverageDatabaseConnections"); /// /// 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 ScalingMetricType(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 ScalingMetricType 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 ScalingMetricType(string value) { return FindValue(value); } } /// /// Constants used for properties of type ScalingPlanStatusCode. /// public class ScalingPlanStatusCode : ConstantClass { /// /// Constant Active for ScalingPlanStatusCode /// public static readonly ScalingPlanStatusCode Active = new ScalingPlanStatusCode("Active"); /// /// Constant ActiveWithProblems for ScalingPlanStatusCode /// public static readonly ScalingPlanStatusCode ActiveWithProblems = new ScalingPlanStatusCode("ActiveWithProblems"); /// /// Constant CreationFailed for ScalingPlanStatusCode /// public static readonly ScalingPlanStatusCode CreationFailed = new ScalingPlanStatusCode("CreationFailed"); /// /// Constant CreationInProgress for ScalingPlanStatusCode /// public static readonly ScalingPlanStatusCode CreationInProgress = new ScalingPlanStatusCode("CreationInProgress"); /// /// Constant DeletionFailed for ScalingPlanStatusCode /// public static readonly ScalingPlanStatusCode DeletionFailed = new ScalingPlanStatusCode("DeletionFailed"); /// /// Constant DeletionInProgress for ScalingPlanStatusCode /// public static readonly ScalingPlanStatusCode DeletionInProgress = new ScalingPlanStatusCode("DeletionInProgress"); /// /// Constant UpdateFailed for ScalingPlanStatusCode /// public static readonly ScalingPlanStatusCode UpdateFailed = new ScalingPlanStatusCode("UpdateFailed"); /// /// Constant UpdateInProgress for ScalingPlanStatusCode /// public static readonly ScalingPlanStatusCode UpdateInProgress = new ScalingPlanStatusCode("UpdateInProgress"); /// /// 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 ScalingPlanStatusCode(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 ScalingPlanStatusCode 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 ScalingPlanStatusCode(string value) { return FindValue(value); } } /// /// Constants used for properties of type ScalingPolicyUpdateBehavior. /// public class ScalingPolicyUpdateBehavior : ConstantClass { /// /// Constant KeepExternalPolicies for ScalingPolicyUpdateBehavior /// public static readonly ScalingPolicyUpdateBehavior KeepExternalPolicies = new ScalingPolicyUpdateBehavior("KeepExternalPolicies"); /// /// Constant ReplaceExternalPolicies for ScalingPolicyUpdateBehavior /// public static readonly ScalingPolicyUpdateBehavior ReplaceExternalPolicies = new ScalingPolicyUpdateBehavior("ReplaceExternalPolicies"); /// /// 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 ScalingPolicyUpdateBehavior(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 ScalingPolicyUpdateBehavior 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 ScalingPolicyUpdateBehavior(string value) { return FindValue(value); } } /// /// Constants used for properties of type ScalingStatusCode. /// public class ScalingStatusCode : ConstantClass { /// /// Constant Active for ScalingStatusCode /// public static readonly ScalingStatusCode Active = new ScalingStatusCode("Active"); /// /// Constant Inactive for ScalingStatusCode /// public static readonly ScalingStatusCode Inactive = new ScalingStatusCode("Inactive"); /// /// Constant PartiallyActive for ScalingStatusCode /// public static readonly ScalingStatusCode PartiallyActive = new ScalingStatusCode("PartiallyActive"); /// /// 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 ScalingStatusCode(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 ScalingStatusCode 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 ScalingStatusCode(string value) { return FindValue(value); } } /// /// Constants used for properties of type ServiceNamespace. /// public class ServiceNamespace : ConstantClass { /// /// Constant Autoscaling for ServiceNamespace /// public static readonly ServiceNamespace Autoscaling = new ServiceNamespace("autoscaling"); /// /// 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 Rds for ServiceNamespace /// public static readonly ServiceNamespace Rds = new ServiceNamespace("rds"); /// /// 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); } } }