as — Auto Scaling
as · type

ScalingPolicy

14 fields

FieldTypeDescription
AutoScalingGroupIdstringAuto scaling group ID.
AutoScalingPolicyIdstringAlarm trigger policy ID.
ScalingPolicyTypestringScaling policy type. Valid values:
ScalingPolicyNamestringAlarm trigger policy name.
AdjustmentTypestringThe method to adjust the desired capacity after the alarm is triggered. It’s only available when `ScalingPolicyType` is `Simple`. Valid values: `CHANGE_IN_CAPACITY`: Increase or decrease the desired capacity `EXACT_CAPACITY`: Adjust to the specified desired capacity `PERCENT_CHANGE_IN_CAPACITY`: Adjust the desired capacity by percentage
AdjustmentValueintegerThe adjusted value of desired capacity after the alarm is triggered. This parameter is only applicable to a simple policy.
CooldownintegerCooldown duration in seconds, applies only to simple policies. value range [0,3600]. default cooldown: 300 seconds.
MetricAlarmMetricAlarmAlarm monitoring metrics of a simple policy.
PredefinedMetricTypestringPreset monitoring item. It’s only available when `ScalingPolicyType` is `TARGET_TRACKING`. Valid values: ASG_AVG_CPU_UTILIZATION: Average CPU utilization ASG_AVG_LAN_TRAFFIC_OUT: Average private bandwidth out ASG_AVG_LAN_TRAFFIC_IN: Average private bandwidth in ASG_AVG_WAN_TRAFFIC_OUT: Average public bandwidth out ASG_AVG_WAN_TRAFFIC_IN: Average public bandwidth in
TargetValueintegerTarget value. It’s only available when `ScalingPolicyType` is `TARGET_TRACKING`. Value ranges: `ASG_AVG_CPU_UTILIZATION` (in %): [1, 100) `ASG_AVG_LAN_TRAFFIC_OUT` (in Mbps): >0 `ASG_AVG_LAN_TRAFFIC_IN` (in Mbps): >0 `ASG_AVG_WAN_TRAFFIC_OUT` (in Mbps): >0 `ASG_AVG_WAN_TRAFFIC_IN` (in Mbps): >0
EstimatedInstanceWarmupintegerInstance warm-up period (in seconds). It’s only available when `ScalingPolicyType` is `TARGET_TRACKING`. Value range: 0-3600.
DisableScaleInbooleanWhether to disable scale-in. It’s only available when `ScalingPolicyType` is `TARGET_TRACKING`. Valid values: `true`: Scaling in is not allowed. `false`: Allows both scale-out and scale-in
MetricAlarmsMetricAlarm[]List of alarm monitoring metrics. This parameter is only applicable to a target tracking policy.
NotificationUserGroupIdsstring[]Notification group ID, which is the set of user group IDs.

Returned or accepted by