# Source: https://docs.datadoghq.com/ddsql_reference/data_directory/aws/aws.autoscaling_group.dataset.md

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

# Auto Scaling Group

An Auto Scaling Group in AWS is a resource that manages a collection of Amazon EC2 instances as a single unit. It automatically adjusts the number of instances based on defined scaling policies, health checks, and demand, ensuring applications remain available and cost-efficient. It also supports features like load balancing integration, scheduled scaling, and instance replacement for high availability.

```
aws.autoscaling_group
```

## Fields

| Title                                 | ID   | Type          | Data Type                                                                                                                                                                                                                                                                           | Description |
| ------------------------------------- | ---- | ------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------- |
| _key                                  | core | string        |
| account_id                            | core | string        |
| auto_scaling_group_arn                | core | string        | The Amazon Resource Name (ARN) of the Auto Scaling group.                                                                                                                                                                                                                           |
| auto_scaling_group_name               | core | string        | The name of the Auto Scaling group.                                                                                                                                                                                                                                                 |
| availability_zone_distribution        | core | json          | The instance capacity distribution across Availability Zones.                                                                                                                                                                                                                       |
| availability_zone_impairment_policy   | core | json          | The Availability Zone impairment policy.                                                                                                                                                                                                                                            |
| availability_zones                    | core | array<string> | One or more Availability Zones for the group.                                                                                                                                                                                                                                       |
| capacity_rebalance                    | core | bool          | Indicates whether Capacity Rebalancing is enabled.                                                                                                                                                                                                                                  |
| capacity_reservation_specification    | core | json          | The capacity reservation specification.                                                                                                                                                                                                                                             |
| context                               | core | string        | Reserved.                                                                                                                                                                                                                                                                           |
| created_time                          | core | timestamp     | The date and time the group was created.                                                                                                                                                                                                                                            |
| default_cooldown                      | core | int64         | The duration of the default cooldown period, in seconds.                                                                                                                                                                                                                            |
| default_instance_warmup               | core | int64         | The duration of the default instance warmup, in seconds.                                                                                                                                                                                                                            |
| desired_capacity                      | core | int64         | The desired size of the group.                                                                                                                                                                                                                                                      |
| desired_capacity_type                 | core | string        | The unit of measurement for the value specified for desired capacity. Amazon EC2 Auto Scaling supports DesiredCapacityType for attribute-based instance type selection only.                                                                                                        |
| enabled_metrics                       | core | json          | The metrics enabled for the group.                                                                                                                                                                                                                                                  |
| health_check_grace_period             | core | int64         | The duration of the health check grace period, in seconds.                                                                                                                                                                                                                          |
| health_check_type                     | core | string        | A comma-separated value string of one or more health check types.                                                                                                                                                                                                                   |
| instance_maintenance_policy           | core | json          | An instance maintenance policy.                                                                                                                                                                                                                                                     |
| instances                             | core | json          | The EC2 instances associated with the group.                                                                                                                                                                                                                                        |
| launch_configuration_name             | core | string        | The name of the associated launch configuration.                                                                                                                                                                                                                                    |
| launch_template                       | core | json          | The launch template for the group.                                                                                                                                                                                                                                                  |
| load_balancer_names                   | core | array<string> | One or more load balancers associated with the group.                                                                                                                                                                                                                               |
| max_instance_lifetime                 | core | int64         | The maximum amount of time, in seconds, that an instance can be in service. Valid Range: Minimum value of 0.                                                                                                                                                                        |
| max_size                              | core | int64         | The maximum size of the group.                                                                                                                                                                                                                                                      |
| min_size                              | core | int64         | The minimum size of the group.                                                                                                                                                                                                                                                      |
| mixed_instances_policy                | core | json          | The mixed instances policy for the group.                                                                                                                                                                                                                                           |
| new_instances_protected_from_scale_in | core | bool          | Indicates whether newly launched instances are protected from termination by Amazon EC2 Auto Scaling when scaling in. For more information about preventing instances from terminating on scale in, see Use instance scale-in protection in the Amazon EC2 Auto Scaling User Guide. |
| placement_group                       | core | string        | The name of the placement group into which to launch your instances, if any.                                                                                                                                                                                                        |
| predicted_capacity                    | core | int64         | The predicted capacity of the group when it has a predictive scaling policy.                                                                                                                                                                                                        |
| service_linked_role_arn               | core | string        | The Amazon Resource Name (ARN) of the service-linked role that the Auto Scaling group uses to call other Amazon Web Services on your behalf.                                                                                                                                        |
| status                                | core | string        | The current state of the group when the DeleteAutoScalingGroup operation is in progress.                                                                                                                                                                                            |
| suspended_processes                   | core | json          | The suspended processes associated with the group.                                                                                                                                                                                                                                  |
| tags                                  | core | hstore_csv    |
| target_group_arns                     | core | array<string> | The Amazon Resource Names (ARN) of the target groups for your load balancer.                                                                                                                                                                                                        |
| termination_policies                  | core | array<string> | The termination policies for the group.                                                                                                                                                                                                                                             |
| traffic_sources                       | core | json          | The traffic sources associated with this Auto Scaling group.                                                                                                                                                                                                                        |
| vpc_zone_identifier                   | core | string        | One or more subnet IDs, if applicable, separated by commas.                                                                                                                                                                                                                         |
| warm_pool_configuration               | core | json          | The warm pool for the group.                                                                                                                                                                                                                                                        |
| warm_pool_size                        | core | int64         | The current size of the warm pool.                                                                                                                                                                                                                                                  |