{ "version": "2.0", "metadata": { "apiVersion": "2018-01-06", "endpointPrefix": "autoscaling-plans", "jsonVersion": "1.1", "protocol": "json", "serviceFullName": "AWS Auto Scaling Plans", "serviceId": "Auto Scaling Plans", "signatureVersion": "v4", "signingName": "autoscaling-plans", "targetPrefix": "AnyScaleScalingPlannerFrontendService", "uid": "autoscaling-plans-2018-01-06" }, "operations": { "CreateScalingPlan": { "name": "CreateScalingPlan", "http": { "method": "POST", "requestUri": "/" }, "input": { "shape": "CreateScalingPlanRequest" }, "output": { "shape": "CreateScalingPlanResponse" }, "errors": [ { "shape": "ValidationException" }, { "shape": "LimitExceededException" }, { "shape": "ConcurrentUpdateException" }, { "shape": "InternalServiceException" } ], "documentation": "

Creates a scaling plan.

" }, "DeleteScalingPlan": { "name": "DeleteScalingPlan", "http": { "method": "POST", "requestUri": "/" }, "input": { "shape": "DeleteScalingPlanRequest" }, "output": { "shape": "DeleteScalingPlanResponse" }, "errors": [ { "shape": "ValidationException" }, { "shape": "ObjectNotFoundException" }, { "shape": "ConcurrentUpdateException" }, { "shape": "InternalServiceException" } ], "documentation": "

Deletes the specified scaling plan.

Deleting a scaling plan deletes the underlying ScalingInstruction for all of the scalable resources that are covered by the plan.

If the plan has launched resources or has scaling activities in progress, you must delete those resources separately.

" }, "DescribeScalingPlanResources": { "name": "DescribeScalingPlanResources", "http": { "method": "POST", "requestUri": "/" }, "input": { "shape": "DescribeScalingPlanResourcesRequest" }, "output": { "shape": "DescribeScalingPlanResourcesResponse" }, "errors": [ { "shape": "ValidationException" }, { "shape": "InvalidNextTokenException" }, { "shape": "ConcurrentUpdateException" }, { "shape": "InternalServiceException" } ], "documentation": "

Describes the scalable resources in the specified scaling plan.

" }, "DescribeScalingPlans": { "name": "DescribeScalingPlans", "http": { "method": "POST", "requestUri": "/" }, "input": { "shape": "DescribeScalingPlansRequest" }, "output": { "shape": "DescribeScalingPlansResponse" }, "errors": [ { "shape": "ValidationException" }, { "shape": "InvalidNextTokenException" }, { "shape": "ConcurrentUpdateException" }, { "shape": "InternalServiceException" } ], "documentation": "

Describes one or more of your scaling plans.

" }, "GetScalingPlanResourceForecastData": { "name": "GetScalingPlanResourceForecastData", "http": { "method": "POST", "requestUri": "/" }, "input": { "shape": "GetScalingPlanResourceForecastDataRequest" }, "output": { "shape": "GetScalingPlanResourceForecastDataResponse" }, "errors": [ { "shape": "ValidationException" }, { "shape": "InternalServiceException" } ], "documentation": "

Retrieves the forecast data for a scalable resource.

Capacity forecasts are represented as predicted values, or data points, that are calculated using historical data points from a specified CloudWatch load metric. Data points are available for up to 56 days.

" }, "UpdateScalingPlan": { "name": "UpdateScalingPlan", "http": { "method": "POST", "requestUri": "/" }, "input": { "shape": "UpdateScalingPlanRequest" }, "output": { "shape": "UpdateScalingPlanResponse" }, "errors": [ { "shape": "ValidationException" }, { "shape": "ConcurrentUpdateException" }, { "shape": "InternalServiceException" }, { "shape": "ObjectNotFoundException" } ], "documentation": "

Updates the specified scaling plan.

You cannot update a scaling plan if it is in the process of being created, updated, or deleted.

" } }, "shapes": { "ApplicationSource": { "type": "structure", "members": { "CloudFormationStackARN": { "shape": "XmlString", "documentation": "

The Amazon Resource Name (ARN) of a AWS CloudFormation stack.

" }, "TagFilters": { "shape": "TagFilters", "documentation": "

A set of tags (up to 50).

" } }, "documentation": "

Represents an application source.

" }, "ApplicationSources": { "type": "list", "member": { "shape": "ApplicationSource" } }, "Cooldown": { "type": "integer" }, "CreateScalingPlanRequest": { "type": "structure", "required": [ "ScalingPlanName", "ApplicationSource", "ScalingInstructions" ], "members": { "ScalingPlanName": { "shape": "ScalingPlanName", "documentation": "

The name of the scaling plan. Names cannot contain vertical bars, colons, or forward slashes.

" }, "ApplicationSource": { "shape": "ApplicationSource", "documentation": "

A CloudFormation stack or set of tags. You can create one scaling plan per application source.

For more information, see ApplicationSource in the AWS Auto Scaling API Reference.

" }, "ScalingInstructions": { "shape": "ScalingInstructions", "documentation": "

The scaling instructions.

For more information, see ScalingInstruction in the AWS Auto Scaling API Reference.

" } } }, "CreateScalingPlanResponse": { "type": "structure", "required": [ "ScalingPlanVersion" ], "members": { "ScalingPlanVersion": { "shape": "ScalingPlanVersion", "documentation": "

The version number of the scaling plan. This value is always 1. Currently, you cannot have multiple scaling plan versions.

" } } }, "CustomizedLoadMetricSpecification": { "type": "structure", "required": [ "MetricName", "Namespace", "Statistic" ], "members": { "MetricName": { "shape": "MetricName", "documentation": "

The name of the metric.

" }, "Namespace": { "shape": "MetricNamespace", "documentation": "

The namespace of the metric.

" }, "Dimensions": { "shape": "MetricDimensions", "documentation": "

The dimensions of the metric.

Conditional: If you published your metric with dimensions, you must specify the same dimensions in your customized load metric specification.

" }, "Statistic": { "shape": "MetricStatistic", "documentation": "

The statistic of the metric. The only valid value is Sum.

" }, "Unit": { "shape": "MetricUnit", "documentation": "

The unit of the metric.

" } }, "documentation": "

Represents a CloudWatch metric of your choosing that can be used for predictive scaling.

For predictive scaling to work with a customized load metric specification, AWS Auto Scaling needs access to the Sum and Average statistics that CloudWatch computes from metric data.

When you choose a load metric, make sure that the required Sum and Average statistics for your metric are available in CloudWatch and that they provide relevant data for predictive scaling. The Sum statistic must represent the total load on the resource, and the Average statistic must represent the average load per capacity unit of the resource. For example, there is a metric that counts the number of requests processed by your Auto Scaling group. If the Sum statistic represents the total request count processed by the group, then the Average statistic for the specified metric must represent the average request count processed by each instance of the group.

If you publish your own metrics, you can aggregate the data points at a given interval and then publish the aggregated data points to CloudWatch. Before AWS Auto Scaling generates the forecast, it sums up all the metric data points that occurred within each hour to match the granularity period that is used in the forecast (60 minutes).

For information about terminology, available metrics, or how to publish new metrics, see Amazon CloudWatch Concepts in the Amazon CloudWatch User Guide.

After creating your scaling plan, you can use the AWS Auto Scaling console to visualize forecasts for the specified metric. For more information, see View Scaling Information for a Resource in the AWS Auto Scaling User Guide.

" }, "CustomizedScalingMetricSpecification": { "type": "structure", "required": [ "MetricName", "Namespace", "Statistic" ], "members": { "MetricName": { "shape": "MetricName", "documentation": "

The name of the metric.

" }, "Namespace": { "shape": "MetricNamespace", "documentation": "

The namespace of the metric.

" }, "Dimensions": { "shape": "MetricDimensions", "documentation": "

The dimensions of the metric.

Conditional: If you published your metric with dimensions, you must specify the same dimensions in your customized scaling metric specification.

" }, "Statistic": { "shape": "MetricStatistic", "documentation": "

The statistic of the metric.

" }, "Unit": { "shape": "MetricUnit", "documentation": "

The unit of the metric.

" } }, "documentation": "

Represents a CloudWatch metric of your choosing that can be used for dynamic scaling as part of a target tracking scaling policy.

To create your customized scaling metric specification:

For information about terminology, available metrics, or how to publish new metrics, see Amazon CloudWatch Concepts in the Amazon CloudWatch User Guide.

" }, "Datapoint": { "type": "structure", "members": { "Timestamp": { "shape": "TimestampType", "documentation": "

The time stamp for the data point in UTC format.

" }, "Value": { "shape": "MetricScale", "documentation": "

The value of the data point.

" } }, "documentation": "

Represents a single value in the forecast data used for predictive scaling.

" }, "Datapoints": { "type": "list", "member": { "shape": "Datapoint" } }, "DeleteScalingPlanRequest": { "type": "structure", "required": [ "ScalingPlanName", "ScalingPlanVersion" ], "members": { "ScalingPlanName": { "shape": "ScalingPlanName", "documentation": "

The name of the scaling plan.

" }, "ScalingPlanVersion": { "shape": "ScalingPlanVersion", "documentation": "

The version number of the scaling plan. Currently, the only valid value is 1.

" } } }, "DeleteScalingPlanResponse": { "type": "structure", "members": {} }, "DescribeScalingPlanResourcesRequest": { "type": "structure", "required": [ "ScalingPlanName", "ScalingPlanVersion" ], "members": { "ScalingPlanName": { "shape": "ScalingPlanName", "documentation": "

The name of the scaling plan.

" }, "ScalingPlanVersion": { "shape": "ScalingPlanVersion", "documentation": "

The version number of the scaling plan. Currently, the only valid value is 1.

" }, "MaxResults": { "shape": "MaxResults", "documentation": "

The maximum number of scalable resources to return. The value must be between 1 and 50. The default value is 50.

" }, "NextToken": { "shape": "NextToken", "documentation": "

The token for the next set of results.

" } } }, "DescribeScalingPlanResourcesResponse": { "type": "structure", "members": { "ScalingPlanResources": { "shape": "ScalingPlanResources", "documentation": "

Information about the scalable resources.

" }, "NextToken": { "shape": "NextToken", "documentation": "

The token required to get the next set of results. This value is null if there are no more results to return.

" } } }, "DescribeScalingPlansRequest": { "type": "structure", "members": { "ScalingPlanNames": { "shape": "ScalingPlanNames", "documentation": "

The names of the scaling plans (up to 10). If you specify application sources, you cannot specify scaling plan names.

" }, "ScalingPlanVersion": { "shape": "ScalingPlanVersion", "documentation": "

The version number of the scaling plan. Currently, the only valid value is 1.

If you specify a scaling plan version, you must also specify a scaling plan name.

" }, "ApplicationSources": { "shape": "ApplicationSources", "documentation": "

The sources for the applications (up to 10). If you specify scaling plan names, you cannot specify application sources.

" }, "MaxResults": { "shape": "MaxResults", "documentation": "

The maximum number of scalable resources to return. This value can be between 1 and 50. The default value is 50.

" }, "NextToken": { "shape": "NextToken", "documentation": "

The token for the next set of results.

" } } }, "DescribeScalingPlansResponse": { "type": "structure", "members": { "ScalingPlans": { "shape": "ScalingPlans", "documentation": "

Information about the scaling plans.

" }, "NextToken": { "shape": "NextToken", "documentation": "

The token required to get the next set of results. This value is null if there are no more results to return.

" } } }, "DisableDynamicScaling": { "type": "boolean" }, "DisableScaleIn": { "type": "boolean" }, "ForecastDataType": { "type": "string", "enum": [ "CapacityForecast", "LoadForecast", "ScheduledActionMinCapacity", "ScheduledActionMaxCapacity" ] }, "GetScalingPlanResourceForecastDataRequest": { "type": "structure", "required": [ "ScalingPlanName", "ScalingPlanVersion", "ServiceNamespace", "ResourceId", "ScalableDimension", "ForecastDataType", "StartTime", "EndTime" ], "members": { "ScalingPlanName": { "shape": "ScalingPlanName", "documentation": "

The name of the scaling plan.

" }, "ScalingPlanVersion": { "shape": "ScalingPlanVersion", "documentation": "

The version number of the scaling plan. Currently, the only valid value is 1.

" }, "ServiceNamespace": { "shape": "ServiceNamespace", "documentation": "

The namespace of the AWS service. The only valid value is autoscaling.

" }, "ResourceId": { "shape": "XmlString", "documentation": "

The ID of the resource. This string consists of a prefix (autoScalingGroup) followed by the name of a specified Auto Scaling group (my-asg). Example: autoScalingGroup/my-asg.

" }, "ScalableDimension": { "shape": "ScalableDimension", "documentation": "

The scalable dimension for the resource. The only valid value is autoscaling:autoScalingGroup:DesiredCapacity.

" }, "ForecastDataType": { "shape": "ForecastDataType", "documentation": "

The type of forecast data to get.

" }, "StartTime": { "shape": "TimestampType", "documentation": "

The inclusive start time of the time range for the forecast data to get. The date and time can be at most 56 days before the current date and time.

" }, "EndTime": { "shape": "TimestampType", "documentation": "

The exclusive end time of the time range for the forecast data to get. The maximum time duration between the start and end time is seven days.

Although this parameter can accept a date and time that is more than two days in the future, the availability of forecast data has limits. AWS Auto Scaling only issues forecasts for periods of two days in advance.

" } } }, "GetScalingPlanResourceForecastDataResponse": { "type": "structure", "required": [ "Datapoints" ], "members": { "Datapoints": { "shape": "Datapoints", "documentation": "

The data points to return.

" } } }, "LoadMetricType": { "type": "string", "enum": [ "ASGTotalCPUUtilization", "ASGTotalNetworkIn", "ASGTotalNetworkOut", "ALBTargetGroupRequestCount" ] }, "MaxResults": { "type": "integer" }, "MetricDimension": { "type": "structure", "required": [ "Name", "Value" ], "members": { "Name": { "shape": "MetricDimensionName", "documentation": "

The name of the dimension.

" }, "Value": { "shape": "MetricDimensionValue", "documentation": "

The value of the dimension.

" } }, "documentation": "

Represents a dimension for a customized metric.

" }, "MetricDimensionName": { "type": "string" }, "MetricDimensionValue": { "type": "string" }, "MetricDimensions": { "type": "list", "member": { "shape": "MetricDimension" } }, "MetricName": { "type": "string" }, "MetricNamespace": { "type": "string" }, "MetricScale": { "type": "double" }, "MetricStatistic": { "type": "string", "enum": [ "Average", "Minimum", "Maximum", "SampleCount", "Sum" ] }, "MetricUnit": { "type": "string" }, "NextToken": { "type": "string" }, "PolicyName": { "type": "string", "max": 256, "min": 1, "pattern": "\\p{Print}+" }, "PolicyType": { "type": "string", "enum": [ "TargetTrackingScaling" ] }, "PredefinedLoadMetricSpecification": { "type": "structure", "required": [ "PredefinedLoadMetricType" ], "members": { "PredefinedLoadMetricType": { "shape": "LoadMetricType", "documentation": "

The metric type.

" }, "ResourceLabel": { "shape": "ResourceLabel", "documentation": "

Identifies the resource associated with the metric type. You can't specify a resource label unless the metric type is ALBTargetGroupRequestCount and there is a target group for an Application Load Balancer attached to the Auto Scaling group.

You create the resource label by appending the final portion of the load balancer ARN and the final portion of the target group ARN into a single value, separated by a forward slash (/). The format is app/<load-balancer-name>/<load-balancer-id>/targetgroup/<target-group-name>/<target-group-id>, where:

This is an example: app/EC2Co-EcsEl-1TKLTMITMM0EO/f37c06a68c1748aa/targetgroup/EC2Co-Defau-LDNM7Q3ZH1ZN/6d4ea56ca2d6a18d.

To find the ARN for an Application Load Balancer, use the DescribeLoadBalancers API operation. To find the ARN for the target group, use the DescribeTargetGroups API operation.

" } }, "documentation": "

Represents a predefined metric that can be used for predictive scaling.

After creating your scaling plan, you can use the AWS Auto Scaling console to visualize forecasts for the specified metric. For more information, see View Scaling Information for a Resource in the AWS Auto Scaling User Guide.

" }, "PredefinedScalingMetricSpecification": { "type": "structure", "required": [ "PredefinedScalingMetricType" ], "members": { "PredefinedScalingMetricType": { "shape": "ScalingMetricType", "documentation": "

The metric type. The ALBRequestCountPerTarget metric type applies only to Auto Scaling groups, Spot Fleet requests, and ECS services.

" }, "ResourceLabel": { "shape": "ResourceLabel", "documentation": "

Identifies the resource associated with the metric type. You can't specify a resource label unless the metric type is ALBRequestCountPerTarget and there is a target group for an Application Load Balancer attached to the Auto Scaling group, Spot Fleet request, or ECS service.

You create the resource label by appending the final portion of the load balancer ARN and the final portion of the target group ARN into a single value, separated by a forward slash (/). The format is app/<load-balancer-name>/<load-balancer-id>/targetgroup/<target-group-name>/<target-group-id>, where:

This is an example: app/EC2Co-EcsEl-1TKLTMITMM0EO/f37c06a68c1748aa/targetgroup/EC2Co-Defau-LDNM7Q3ZH1ZN/6d4ea56ca2d6a18d.

To find the ARN for an Application Load Balancer, use the DescribeLoadBalancers API operation. To find the ARN for the target group, use the DescribeTargetGroups API operation.

" } }, "documentation": "

Represents a predefined metric that can be used for dynamic scaling as part of a target tracking scaling policy.

" }, "PredictiveScalingMaxCapacityBehavior": { "type": "string", "enum": [ "SetForecastCapacityToMaxCapacity", "SetMaxCapacityToForecastCapacity", "SetMaxCapacityAboveForecastCapacity" ] }, "PredictiveScalingMode": { "type": "string", "enum": [ "ForecastAndScale", "ForecastOnly" ] }, "ResourceCapacity": { "type": "integer" }, "ResourceIdMaxLen1600": { "type": "string", "max": 1600, "min": 1, "pattern": "[\\u0020-\\uD7FF\\uE000-\\uFFFD\\uD800\\uDC00-\\uDBFF\\uDFFF\\r\\n\\t]*" }, "ResourceLabel": { "type": "string", "max": 1023, "min": 1 }, "ScalableDimension": { "type": "string", "enum": [ "autoscaling:autoScalingGroup:DesiredCapacity", "ecs:service:DesiredCount", "ec2:spot-fleet-request:TargetCapacity", "rds:cluster:ReadReplicaCount", "dynamodb:table:ReadCapacityUnits", "dynamodb:table:WriteCapacityUnits", "dynamodb:index:ReadCapacityUnits", "dynamodb:index:WriteCapacityUnits" ] }, "ScalingInstruction": { "type": "structure", "required": [ "ServiceNamespace", "ResourceId", "ScalableDimension", "MinCapacity", "MaxCapacity", "TargetTrackingConfigurations" ], "members": { "ServiceNamespace": { "shape": "ServiceNamespace", "documentation": "

The namespace of the AWS service.

" }, "ResourceId": { "shape": "ResourceIdMaxLen1600", "documentation": "

The ID of the resource. This string consists of the resource type and unique identifier.

" }, "ScalableDimension": { "shape": "ScalableDimension", "documentation": "

The scalable dimension associated with the resource.

" }, "MinCapacity": { "shape": "ResourceCapacity", "documentation": "

The minimum capacity of the resource.

" }, "MaxCapacity": { "shape": "ResourceCapacity", "documentation": "

The maximum capacity of the resource. The exception to this upper limit is if you specify a non-default setting for PredictiveScalingMaxCapacityBehavior.

" }, "TargetTrackingConfigurations": { "shape": "TargetTrackingConfigurations", "documentation": "

The target tracking configurations (up to 10). Each of these structures must specify a unique scaling metric and a target value for the metric.

" }, "PredefinedLoadMetricSpecification": { "shape": "PredefinedLoadMetricSpecification", "documentation": "

The predefined load metric to use for predictive scaling. This parameter or a CustomizedLoadMetricSpecification is required when configuring predictive scaling, and cannot be used otherwise.

" }, "CustomizedLoadMetricSpecification": { "shape": "CustomizedLoadMetricSpecification", "documentation": "

The customized load metric to use for predictive scaling. This parameter or a PredefinedLoadMetricSpecification is required when configuring predictive scaling, and cannot be used otherwise.

" }, "ScheduledActionBufferTime": { "shape": "ScheduledActionBufferTime", "documentation": "

The amount of time, in seconds, to buffer the run time of scheduled scaling actions when scaling out. For example, if the forecast says to add capacity at 10:00 AM, and the buffer time is 5 minutes, then the run time of the corresponding scheduled scaling action will be 9:55 AM. The intention is to give resources time to be provisioned. For example, it can take a few minutes to launch an EC2 instance. The actual amount of time required depends on several factors, such as the size of the instance and whether there are startup scripts to complete.

The value must be less than the forecast interval duration of 3600 seconds (60 minutes). The default is 300 seconds.

Only valid when configuring predictive scaling.

" }, "PredictiveScalingMaxCapacityBehavior": { "shape": "PredictiveScalingMaxCapacityBehavior", "documentation": "

Defines the behavior that should be applied if the forecast capacity approaches or exceeds the maximum capacity specified for the resource. The default value is SetForecastCapacityToMaxCapacity.

The following are possible values:

Only valid when configuring predictive scaling.

" }, "PredictiveScalingMaxCapacityBuffer": { "shape": "ResourceCapacity", "documentation": "

The size of the capacity buffer to use when the forecast capacity is close to or exceeds the maximum capacity. The value is specified as a percentage relative to the forecast capacity. For example, if the buffer is 10, this means a 10 percent buffer, such that if the forecast capacity is 50, and the maximum capacity is 40, then the effective maximum capacity is 55.

Only valid when configuring predictive scaling. Required if the PredictiveScalingMaxCapacityBehavior is set to SetMaxCapacityAboveForecastCapacity, and cannot be used otherwise.

The range is 1-100.

" }, "PredictiveScalingMode": { "shape": "PredictiveScalingMode", "documentation": "

The predictive scaling mode. The default value is ForecastAndScale. Otherwise, AWS Auto Scaling forecasts capacity but does not create any scheduled scaling actions based on the capacity forecast.

" }, "ScalingPolicyUpdateBehavior": { "shape": "ScalingPolicyUpdateBehavior", "documentation": "

Controls whether a resource's externally created scaling policies are kept or replaced.

The default value is KeepExternalPolicies. If the parameter is set to ReplaceExternalPolicies, any scaling policies that are external to AWS Auto Scaling are deleted and new target tracking scaling policies created.

Only valid when configuring dynamic scaling.

Condition: The number of existing policies to be replaced must be less than or equal to 50. If there are more than 50 policies to be replaced, AWS Auto Scaling keeps all existing policies and does not create new ones.

" }, "DisableDynamicScaling": { "shape": "DisableDynamicScaling", "documentation": "

Controls whether dynamic scaling by AWS Auto Scaling is disabled. When dynamic scaling is enabled, AWS Auto Scaling creates target tracking scaling policies based on the specified target tracking configurations.

The default is enabled (false).

" } }, "documentation": "

Describes a scaling instruction for a scalable resource in a scaling plan. Each scaling instruction applies to one resource.

AWS Auto Scaling creates target tracking scaling policies based on the scaling instructions. Target tracking scaling policies adjust the capacity of your scalable resource as required to maintain resource utilization at the target value that you specified.

AWS Auto Scaling also configures predictive scaling for your Amazon EC2 Auto Scaling groups using a subset of parameters, including the load metric, the scaling metric, the target value for the scaling metric, the predictive scaling mode (forecast and scale or forecast only), and the desired behavior when the forecast capacity exceeds the maximum capacity of the resource. With predictive scaling, AWS Auto Scaling generates forecasts with traffic predictions for the two days ahead and schedules scaling actions that proactively add and remove resource capacity to match the forecast.

We recommend waiting a minimum of 24 hours after creating an Auto Scaling group to configure predictive scaling. At minimum, there must be 24 hours of historical data to generate a forecast. For more information, see Best Practices for AWS Auto Scaling in the AWS Auto Scaling User Guide.

" }, "ScalingInstructions": { "type": "list", "member": { "shape": "ScalingInstruction" } }, "ScalingMetricType": { "type": "string", "enum": [ "ASGAverageCPUUtilization", "ASGAverageNetworkIn", "ASGAverageNetworkOut", "DynamoDBReadCapacityUtilization", "DynamoDBWriteCapacityUtilization", "ECSServiceAverageCPUUtilization", "ECSServiceAverageMemoryUtilization", "ALBRequestCountPerTarget", "RDSReaderAverageCPUUtilization", "RDSReaderAverageDatabaseConnections", "EC2SpotFleetRequestAverageCPUUtilization", "EC2SpotFleetRequestAverageNetworkIn", "EC2SpotFleetRequestAverageNetworkOut" ] }, "ScalingPlan": { "type": "structure", "required": [ "ScalingPlanName", "ScalingPlanVersion", "ApplicationSource", "ScalingInstructions", "StatusCode" ], "members": { "ScalingPlanName": { "shape": "ScalingPlanName", "documentation": "

The name of the scaling plan.

" }, "ScalingPlanVersion": { "shape": "ScalingPlanVersion", "documentation": "

The version number of the scaling plan.

" }, "ApplicationSource": { "shape": "ApplicationSource", "documentation": "

A CloudFormation stack or a set of tags. You can create one scaling plan per application source.

" }, "ScalingInstructions": { "shape": "ScalingInstructions", "documentation": "

The scaling instructions.

" }, "StatusCode": { "shape": "ScalingPlanStatusCode", "documentation": "

The status of the scaling plan.

" }, "StatusMessage": { "shape": "XmlString", "documentation": "

A simple message about the current status of the scaling plan.

" }, "StatusStartTime": { "shape": "TimestampType", "documentation": "

The Unix time stamp when the scaling plan entered the current status.

" }, "CreationTime": { "shape": "TimestampType", "documentation": "

The Unix time stamp when the scaling plan was created.

" } }, "documentation": "

Represents a scaling plan.

" }, "ScalingPlanName": { "type": "string", "max": 128, "min": 1, "pattern": "[\\p{Print}&&[^|:/]]+" }, "ScalingPlanNames": { "type": "list", "member": { "shape": "ScalingPlanName" } }, "ScalingPlanResource": { "type": "structure", "required": [ "ScalingPlanName", "ScalingPlanVersion", "ServiceNamespace", "ResourceId", "ScalableDimension", "ScalingStatusCode" ], "members": { "ScalingPlanName": { "shape": "ScalingPlanName", "documentation": "

The name of the scaling plan.

" }, "ScalingPlanVersion": { "shape": "ScalingPlanVersion", "documentation": "

The version number of the scaling plan.

" }, "ServiceNamespace": { "shape": "ServiceNamespace", "documentation": "

The namespace of the AWS service.

" }, "ResourceId": { "shape": "ResourceIdMaxLen1600", "documentation": "

The ID of the resource. This string consists of the resource type and unique identifier.

" }, "ScalableDimension": { "shape": "ScalableDimension", "documentation": "

The scalable dimension for the resource.

" }, "ScalingPolicies": { "shape": "ScalingPolicies", "documentation": "

The scaling policies.

" }, "ScalingStatusCode": { "shape": "ScalingStatusCode", "documentation": "

The scaling status of the resource.

" }, "ScalingStatusMessage": { "shape": "XmlString", "documentation": "

A simple message about the current scaling status of the resource.

" } }, "documentation": "

Represents a scalable resource.

" }, "ScalingPlanResources": { "type": "list", "member": { "shape": "ScalingPlanResource" } }, "ScalingPlanStatusCode": { "type": "string", "enum": [ "Active", "ActiveWithProblems", "CreationInProgress", "CreationFailed", "DeletionInProgress", "DeletionFailed", "UpdateInProgress", "UpdateFailed" ] }, "ScalingPlanVersion": { "type": "long" }, "ScalingPlans": { "type": "list", "member": { "shape": "ScalingPlan" } }, "ScalingPolicies": { "type": "list", "member": { "shape": "ScalingPolicy" } }, "ScalingPolicy": { "type": "structure", "required": [ "PolicyName", "PolicyType" ], "members": { "PolicyName": { "shape": "PolicyName", "documentation": "

The name of the scaling policy.

" }, "PolicyType": { "shape": "PolicyType", "documentation": "

The type of scaling policy.

" }, "TargetTrackingConfiguration": { "shape": "TargetTrackingConfiguration", "documentation": "

The target tracking scaling policy. Includes support for predefined or customized metrics.

" } }, "documentation": "

Represents a scaling policy.

" }, "ScalingPolicyUpdateBehavior": { "type": "string", "enum": [ "KeepExternalPolicies", "ReplaceExternalPolicies" ] }, "ScalingStatusCode": { "type": "string", "enum": [ "Inactive", "PartiallyActive", "Active" ] }, "ScheduledActionBufferTime": { "type": "integer", "min": 0 }, "ServiceNamespace": { "type": "string", "enum": [ "autoscaling", "ecs", "ec2", "rds", "dynamodb" ] }, "TagFilter": { "type": "structure", "members": { "Key": { "shape": "XmlStringMaxLen128", "documentation": "

The tag key.

" }, "Values": { "shape": "TagValues", "documentation": "

The tag values (0 to 20).

" } }, "documentation": "

Represents a tag.

" }, "TagFilters": { "type": "list", "member": { "shape": "TagFilter" } }, "TagValues": { "type": "list", "member": { "shape": "XmlStringMaxLen256" } }, "TargetTrackingConfiguration": { "type": "structure", "required": [ "TargetValue" ], "members": { "PredefinedScalingMetricSpecification": { "shape": "PredefinedScalingMetricSpecification", "documentation": "

A predefined metric. You can specify either a predefined metric or a customized metric.

" }, "CustomizedScalingMetricSpecification": { "shape": "CustomizedScalingMetricSpecification", "documentation": "

A customized metric. You can specify either a predefined metric or a customized metric.

" }, "TargetValue": { "shape": "MetricScale", "documentation": "

The target value for the metric. Although this property accepts numbers of type Double, it won't accept values that are either too small or too large. Values must be in the range of -2^360 to 2^360.

" }, "DisableScaleIn": { "shape": "DisableScaleIn", "documentation": "

Indicates whether scale in by the target tracking scaling policy is disabled. If the value is true, scale in is disabled and the target tracking scaling policy doesn't remove capacity from the scalable resource. Otherwise, scale in is enabled and the target tracking scaling policy can remove capacity from the scalable resource.

The default value is false.

" }, "ScaleOutCooldown": { "shape": "Cooldown", "documentation": "

The amount of time, in seconds, to wait for a previous scale-out activity to take effect. This property is not used if the scalable resource is an Auto Scaling group.

With the scale-out cooldown period, the intention is to continuously (but not excessively) scale out. After Auto Scaling successfully scales out using a target tracking scaling policy, it starts to calculate the cooldown time. The scaling policy won't increase the desired capacity again unless either a larger scale out is triggered or the cooldown period ends.

" }, "ScaleInCooldown": { "shape": "Cooldown", "documentation": "

The amount of time, in seconds, after a scale-in activity completes before another scale-in activity can start. This property is not used if the scalable resource is an Auto Scaling group.

With the scale-in cooldown period, the intention is to scale in conservatively to protect your application’s availability, so scale-in activities are blocked until the cooldown period has expired. However, if another alarm triggers a scale-out activity during the scale-in cooldown period, Auto Scaling scales out the target immediately. In this case, the scale-in cooldown period stops and doesn't complete.

" }, "EstimatedInstanceWarmup": { "shape": "Cooldown", "documentation": "

The estimated time, in seconds, until a newly launched instance can contribute to the CloudWatch metrics. This value is used only if the resource is an Auto Scaling group.

" } }, "documentation": "

Describes a target tracking configuration to use with AWS Auto Scaling. Used with ScalingInstruction and ScalingPolicy.

" }, "TargetTrackingConfigurations": { "type": "list", "member": { "shape": "TargetTrackingConfiguration" } }, "TimestampType": { "type": "timestamp" }, "UpdateScalingPlanRequest": { "type": "structure", "required": [ "ScalingPlanName", "ScalingPlanVersion" ], "members": { "ScalingPlanName": { "shape": "ScalingPlanName", "documentation": "

The name of the scaling plan.

" }, "ScalingPlanVersion": { "shape": "ScalingPlanVersion", "documentation": "

The version number of the scaling plan. The only valid value is 1. Currently, you cannot have multiple scaling plan versions.

" }, "ApplicationSource": { "shape": "ApplicationSource", "documentation": "

A CloudFormation stack or set of tags.

For more information, see ApplicationSource in the AWS Auto Scaling API Reference.

" }, "ScalingInstructions": { "shape": "ScalingInstructions", "documentation": "

The scaling instructions.

For more information, see ScalingInstruction in the AWS Auto Scaling API Reference.

" } } }, "UpdateScalingPlanResponse": { "type": "structure", "members": {} }, "XmlString": { "type": "string", "pattern": "[\\u0020-\\uD7FF\\uE000-\\uFFFD\\uD800\\uDC00-\\uDBFF\\uDFFF\\r\\n\\t]*" }, "XmlStringMaxLen128": { "type": "string", "max": 128, "min": 1, "pattern": "[\\u0020-\\uD7FF\\uE000-\\uFFFD\\uD800\\uDC00-\\uDBFF\\uDFFF\\r\\n\\t]*" }, "XmlStringMaxLen256": { "type": "string", "max": 256, "min": 1, "pattern": "[\\u0020-\\uD7FF\\uE000-\\uFFFD\\uD800\\uDC00-\\uDBFF\\uDFFF\\r\\n\\t]*" } }, "documentation": "AWS Auto Scaling

Use AWS Auto Scaling to create scaling plans for your applications to automatically scale your scalable AWS resources.

API Summary

You can use the AWS Auto Scaling service API to accomplish the following tasks:

To learn more about AWS Auto Scaling, including information about granting IAM users required permissions for AWS Auto Scaling actions, see the AWS Auto Scaling User Guide.

" }