Auto Scaling
API Reference (API Version 2011-01-01)
« PreviousNext »
View the PDF for this guide.Go to the AWS Discussion Forum for this product.Did this page help you?  Yes | No |  Tell us about it...

ExecutePolicy

Description

Executes the specified policy.

Request Parameters

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

AutoScalingGroupName

The name or the Amazon Resource Name (ARN) of the Auto Scaling group.

Type: String

Length constraints: Minimum length of 1. Maximum length of 1600.

Required: No

HonorCooldown

Set to True if you want Auto Scaling to wait for the cooldown period associated with the Auto Scaling group to complete before executing the policy.

Set to False if you want Auto Scaling to circumvent the cooldown period associated with the Auto Scaling group and execute the policy before the cooldown period ends.

For information about cooldown period, see Cooldown Period in the Auto Scaling Developer Guide.

Type: Boolean

Required: No

PolicyName

The name or ARN of the policy you want to run.

Type: String

Length constraints: Minimum length of 1. Maximum length of 1600.

Required: Yes

Errors

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

ScalingActivityInProgress

You cannot delete an Auto Scaling group while there are scaling activities in progress for that group.

HTTP Status Code: 400