DescribePolicies#

Description#

Gets information about the scaling policies

Request Parameters#

  • AutoScalingGroupName — The name of an Auto Scaling Group (ASG).

    • Type: String

    • Required: No

  • MaxRecords — The maximum number of policy records returned.

    • Type: Integer

    • Required: No

    • Default value: 50

    • Maximum value: 100

  • NextTokenNextToken returned by a previous call (see Response Elements).

    • Required: No

    • Type: String

  • PolicyNames — List of policy names.

    • Type: Array of strings

    • Required: No

  • PolicyTypes — List of policy types.

    • Type: Array of strings

    • Required: No

Response Elements#

  • NextToken — The token is returned only when the response cannot contain all the policies that meet the criteria. To retrieve further data, the returned value must be passed as the NextToken parameter in the same request.

    • Type: String

  • ScalingPolicies — List of policies.

Examples#

c2-as DescribePolicies
c2-as DescribePolicies MaxRecords 5 NextToken <next_token>
c2-as AutoScalingGroupName "asg_name" PolicyNames.1 "policy_name" PolicyTypes.1 SimpleScaling