paws.management (version 0.1.0)

autoscaling_describe_policies: Describes the policies for the specified Auto Scaling group

Description

Describes the policies for the specified Auto Scaling group.

Usage

autoscaling_describe_policies(AutoScalingGroupName, PolicyNames,
  PolicyTypes, NextToken, MaxRecords)

Arguments

AutoScalingGroupName

The name of the Auto Scaling group.

PolicyNames

The names of one or more policies. If you omit this parameter, all policies are described. If a group name is provided, the results are limited to that group. This list is limited to 50 items. If you specify an unknown policy name, it is ignored with no error.

PolicyTypes

One or more policy types. The valid values are SimpleScaling, StepScaling, and TargetTrackingScaling.

NextToken

The token for the next set of items to return. (You received this token from a previous call.)

MaxRecords

The maximum number of items to be returned with each call. The default value is 50 and the maximum value is 100.

Request syntax

svc$describe_policies(
  AutoScalingGroupName = "string",
  PolicyNames = list(
    "string"
  ),
  PolicyTypes = list(
    "string"
  ),
  NextToken = "string",
  MaxRecords = 123
)

Examples

Run this code
# NOT RUN {
# This example describes the policies for the specified Auto Scaling
# group.
# }
# NOT RUN {
svc$describe_policies(
  AutoScalingGroupName = "my-auto-scaling-group"
)
# }
# NOT RUN {
# }

Run the code above in your browser using DataLab