describeScalingPolicies

Describes the Application Auto Scaling scaling policies for the specified service namespace.

You can filter the results using ResourceId, ScalableDimension, and PolicyNames.

For more information, see Target tracking scaling policies and Step scaling policies in the Application Auto Scaling User Guide.

Samples


fun main() { 
   //sampleStart 
   // This example describes the scaling policies for the ECS service namespace.
val resp = applicationAutoScalingClient.describeScalingPolicies {
    serviceNamespace = ServiceNamespace.fromValue("ecs")
} 
   //sampleEnd
}