UpdateScalingPlan - Amazon Auto Scaling
Services or capabilities described in Amazon Web Services documentation might vary by Region. To see the differences applicable to the China Regions, see Getting Started with Amazon Web Services in China (PDF).


Updates the specified scaling plan.

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

Request Syntax

{ "ApplicationSource": { "CloudFormationStackARN": "string", "TagFilters": [ { "Key": "string", "Values": [ "string" ] } ] }, "ScalingInstructions": [ { "CustomizedLoadMetricSpecification": { "Dimensions": [ { "Name": "string", "Value": "string" } ], "MetricName": "string", "Namespace": "string", "Statistic": "string", "Unit": "string" }, "DisableDynamicScaling": boolean, "MaxCapacity": number, "MinCapacity": number, "PredefinedLoadMetricSpecification": { "PredefinedLoadMetricType": "string", "ResourceLabel": "string" }, "PredictiveScalingMaxCapacityBehavior": "string", "PredictiveScalingMaxCapacityBuffer": number, "PredictiveScalingMode": "string", "ResourceId": "string", "ScalableDimension": "string", "ScalingPolicyUpdateBehavior": "string", "ScheduledActionBufferTime": number, "ServiceNamespace": "string", "TargetTrackingConfigurations": [ { "CustomizedScalingMetricSpecification": { "Dimensions": [ { "Name": "string", "Value": "string" } ], "MetricName": "string", "Namespace": "string", "Statistic": "string", "Unit": "string" }, "DisableScaleIn": boolean, "EstimatedInstanceWarmup": number, "PredefinedScalingMetricSpecification": { "PredefinedScalingMetricType": "string", "ResourceLabel": "string" }, "ScaleInCooldown": number, "ScaleOutCooldown": number, "TargetValue": number } ] } ], "ScalingPlanName": "string", "ScalingPlanVersion": number }

Request Parameters

For information about the parameters that are common to all actions, see Common Parameters.

The request accepts the following data in JSON format.


A CloudFormation stack or set of tags.

Type: ApplicationSource object

Required: No


The scaling instructions.

Type: Array of ScalingInstruction objects

Required: No


The name of the scaling plan.

Type: String

Length Constraints: Minimum length of 1. Maximum length of 128.

Pattern: [\p{Print}&&[^|:/]]+

Required: Yes


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

Type: Long

Required: Yes

Response Elements

If the action is successful, the service sends back an HTTP 200 response with an empty HTTP body.


For information about the errors that are common to all actions, see Common Errors.


Concurrent updates caused an exception, for example, if you request an update to a scaling plan that already has a pending update.

HTTP Status Code: 400


The service encountered an internal error.

HTTP Status Code: 400


The specified object could not be found.

HTTP Status Code: 400


An exception was thrown for a validation issue. Review the parameters provided.

HTTP Status Code: 400

See Also

For more information about using this API in one of the language-specific Amazon SDKs, see the following: