Scaling Policy Args
The `AWS::ApplicationAutoScaling::ScalingPolicy`
resource defines a scaling policy that Application Auto Scaling uses to adjust the capacity of a scalable target. For more information, see Target tracking scaling policies and Step scaling policies in the Application Auto Scaling User Guide.
Constructors
Properties
The name of the scaling policy. Updates to the name of a target tracking scaling policy are not supported, unless you also update the metric used for scaling. To change only a target tracking scaling policy's name, first delete the policy by removing the existing `AWS::ApplicationAutoScaling::ScalingPolicy`
resource from the template and updating the stack. Then, recreate the resource with the same settings and a different name.
The scaling policy type. The following policy types are supported: `TargetTrackingScaling`
—Not supported for Amazon EMR `StepScaling`
—Not supported for DynamoDB, Amazon Comprehend, Lambda, Amazon Keyspaces, Amazon MSK, Amazon ElastiCache, or Neptune.
The identifier of the resource associated with the scaling policy. This string consists of the resource type and unique identifier.
The scalable dimension. This string consists of the service namespace, resource type, and scaling property.
The CloudFormation-generated ID of an Application Auto Scaling scalable target. For more information about the ID, see the Return Value section of the `AWS::ApplicationAutoScaling::ScalableTarget`
resource. You must specify either the `ScalingTargetId`
property, or the `ResourceId`
, `ScalableDimension`
, and `ServiceNamespace`
properties, but not both.
The namespace of the AWS service that provides the resource, or a `custom-resource`
.
A step scaling policy.
A target tracking scaling policy.