Auto Scaling Policy

This table represents the Auto Scaling Policy resource from Amazon Web Services.

aws.autoscaling_policy

Fields

TitleIDTypeData TypeDescription
_keycorestring
account_idcorestring
adjustment_typecorestringSpecifies how the scaling adjustment is interpreted (for example, an absolute number or a percentage). The valid values are <code>ChangeInCapacity</code>, <code>ExactCapacity</code>, and <code>PercentChangeInCapacity</code>.
alarmscorejsonThe CloudWatch alarms related to the policy.
auto_scaling_group_namecorestringThe name of the Auto Scaling group.
cooldowncoreint64The duration of the policy's cooldown period, in seconds.
enabledcoreboolIndicates whether the policy is enabled (<code>true</code>) or disabled (<code>false</code>).
estimated_instance_warmupcoreint64The estimated time, in seconds, until a newly launched instance can contribute to the CloudWatch metrics.
metric_aggregation_typecorestringThe aggregation type for the CloudWatch metrics. The valid values are <code>Minimum</code>, <code>Maximum</code>, and <code>Average</code>.
min_adjustment_magnitudecoreint64The minimum value to scale by when the adjustment type is <code>PercentChangeInCapacity</code>.
min_adjustment_stepcoreint64Available for backward compatibility. Use <code>MinAdjustmentMagnitude</code> instead.
policy_arncorestringThe Amazon Resource Name (ARN) of the policy.
policy_namecorestringThe name of the scaling policy.
policy_typecorestringOne of the following policy types: <ul> <li> <code>TargetTrackingScaling</code> </li> <li> <code>StepScaling</code> </li> <li> <code>SimpleScaling</code> (default) </li> <li> <code>PredictiveScaling</code> </li> </ul> For more information, see <a href="https://docs.aws.amazon.com/autoscaling/ec2/userguide/as-scaling-target-tracking.html">Target tracking scaling policies</a> and <a href="https://docs.aws.amazon.com/autoscaling/ec2/userguide/as-scaling-simple-step.html">Step and simple scaling policies</a> in the <i>Amazon EC2 Auto Scaling User Guide</i>.
predictive_scaling_configurationcorejsonA predictive scaling policy.
scaling_adjustmentcoreint64The amount by which to scale, based on the specified adjustment type. A positive value adds to the current capacity while a negative number removes from the current capacity.
step_adjustmentscorejsonA set of adjustments that enable you to scale based on the size of the alarm breach.
tagscorehstore
target_tracking_configurationcorejsonA target tracking scaling policy.