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

KeyDatatypeRequiredDescription
AdjustmentTypenullSpecifies whether the ScalingAdjustment parameter is an absolute number or a percentage of the current capacity. The valid values are ChangeInCapacity, ExactCapacity, and PercentChangeInCapacity.
AutoScalingGroupNamenullThe name of the Auto Scaling group.
CooldownnullThe 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.
EstimatedInstanceWarmupnullThe 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.
MetricAggregationTypenullThe 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.
MinAdjustmentMagnitudenullThe 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.
MinAdjustmentStepnullThis parameter has been deprecated.
PolicyNamenullThe name of the policy.
PolicyTypenullThe policy type. The valid values are SimpleScaling, StepScaling, and TargetTrackingScaling. If the policy type is null, the value is treated as SimpleScaling.
ScalingAdjustmentnullThe 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.NnullA set of adjustments that enable you to scale based on the size of the alarm breach.
TargetTrackingConfigurationnullA target tracking scaling policy. Includes support for predefined or customized metrics.
Actionstring