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

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 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 more information, see Understanding Auto Scaling Cooldowns in the Auto Scaling Developer Guide.

Type: Boolean

Required: No

PolicyName

The name or ARN of the policy.

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

The Auto Scaling group can't be deleted because there are scaling activities in progress.

HTTP Status Code: 400