Executes a scaling policy.

Request Parameters#

Required parameters#

  • AutoScalingGroupName — The name of the Auto Scaling Group.

    • Type: String

    • Required: Yes

  • PolicyName — The name of the policy.

    • Type: String

    • Required: Yes

Optional parameters#

  • HonorCooldown — Indicates whether it is required to check that enough time has elapsed since the previous execution of the policy.

    • Type: String

    • Required: No

    • Default value: True

Response Elements#

  • DesiredCapacity — The actual value of the DesiredCapacity parameter set as the result of the request.

    • Type: Integer


c2-as ExecutePolicy AutoScalingGroupName "asg_name" PolicyName "policy_name"
c2-as ExecutePolicy AutoScalingGroupName "asg_name" PolicyName "policy_name" HonorCooldown False