---
title: Auto Scaling Policy
description: Datadog, the leading service for cloud-scale monitoring.
breadcrumbs: Docs > DDSQL Reference > Data Directory > Auto Scaling Policy
---

# Auto Scaling Policy

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

```
aws.autoscaling_policy
```

## Fields

| Title                            | ID   | Type       | Data Type                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       | Description |
| -------------------------------- | ---- | ---------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------- |
| _key                             | core | string     |
| account_id                       | core | string     |
| adjustment_type                  | core | string     | Specifies 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>.                                                                                                                                                                                                                                                                                                                                                |
| alarms                           | core | json       | The CloudWatch alarms related to the policy.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    |
| auto_scaling_group_name          | core | string     | The name of the Auto Scaling group.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                             |
| cooldown                         | core | int64      | The duration of the policy's cooldown period, in seconds.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| enabled                          | core | bool       | Indicates whether the policy is enabled (<code>true</code>) or disabled (<code>false</code>).                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   |
| estimated_instance_warmup        | core | int64      | The estimated time, in seconds, until a newly launched instance can contribute to the CloudWatch metrics.                                                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| metric_aggregation_type          | core | string     | The aggregation type for the CloudWatch metrics. The valid values are <code>Minimum</code>, <code>Maximum</code>, and <code>Average</code>.                                                                                                                                                                                                                                                                                                                                                                                                                                     |
| min_adjustment_magnitude         | core | int64      | The minimum value to scale by when the adjustment type is <code>PercentChangeInCapacity</code>.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 |
| min_adjustment_step              | core | int64      | Available for backward compatibility. Use <code>MinAdjustmentMagnitude</code> instead.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          |
| policy_arn                       | core | string     | The Amazon Resource Name (ARN) of the policy.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   |
| policy_name                      | core | string     | The name of the scaling policy.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 |
| policy_type                      | core | string     | One 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_configuration | core | json       | A predictive scaling policy.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    |
| scaling_adjustment               | core | int64      | The 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_adjustments                 | core | json       | A set of adjustments that enable you to scale based on the size of the alarm breach.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            |
| tags                             | core | hstore_csv |
| target_tracking_configuration    | core | json       | A target tracking scaling policy.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               |
