Put Scaling Policy
GET {{aws_auto_scaling_api_base_url}}/?AdjustmentType&AutoScalingGroupName&Cooldown&EstimatedInstanceWarmup&MetricAggregationType&MinAdjustmentMagnitude&MinAdjustmentStep&PolicyName&PolicyType&ScalingAdjustment&StepAdjustments.member.N&TargetTrackingConfiguration&Action=PutScalingPolicy
Request Params
Key | Datatype | Required | Description |
---|---|---|---|
AdjustmentType | null | Specifies whether the ScalingAdjustment parameter is an absolute number or a percentage of the current capacity. The valid values are ChangeInCapacity, ExactCapacity, and PercentChangeInCapacity. | |
AutoScalingGroupName | null | The name of the Auto Scaling group. | |
Cooldown | null | The amount of time, in seconds, after a scaling activity completes before any further dynamic scaling activities can start. If this parameter is not specified, the default cooldown period for the group applies. | |
EstimatedInstanceWarmup | null | The estimated time, in seconds, until a newly launched instance can contribute to the CloudWatch metrics. The default is to use the value specified for the default cooldown period for the group. | |
MetricAggregationType | null | The aggregation type for the CloudWatch metrics. The valid values are Minimum, Maximum, and Average. If the aggregation type is null, the value is treated as Average. | |
MinAdjustmentMagnitude | null | The minimum number of instances to scale. If the value of AdjustmentType is PercentChangeInCapacity, the scaling policy changes the DesiredCapacity of the Auto Scaling group by at least this many instances. Otherwise, the error is ValidationError. | |
MinAdjustmentStep | null | This parameter has been deprecated. | |
PolicyName | null | The name of the policy. | |
PolicyType | null | The policy type. The valid values are SimpleScaling, StepScaling, and TargetTrackingScaling. If the policy type is null, the value is treated as SimpleScaling. | |
ScalingAdjustment | null | The amount by which a simple scaling policy scales the Auto Scaling group in response to an alarm breach. The adjustment is based on the value that you specified in the AdjustmentType parameter (either an absolute number or a percentage). A positive value adds to the current capacity and a negative value subtracts from the current capacity. For exact capacity, you must specify a positive value. | |
StepAdjustments.member.N | null | A set of adjustments that enable you to scale based on the size of the alarm breach. | |
TargetTrackingConfiguration | null | A target tracking scaling policy. Includes support for predefined or customized metrics. | |
Action | string |