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

TitleIDTypeData TypeDescription
_keycorestring
account_idcorestring
auto_scaling_group_arncorestringThe Amazon Resource Name (ARN) of the Auto Scaling group.
auto_scaling_group_namecorestringThe name of the Auto Scaling group.
availability_zone_distributioncorejsonThe EC2 instance capacity distribution across Availability Zones for the Auto Scaling group.
availability_zone_impairment_policycorejsonThe Availability Zone impairment policy for the Auto Scaling group.
availability_zonescorearray<string>One or more Availability Zones for the Auto Scaling group.
capacity_rebalancecoreboolIndicates whether Capacity Rebalancing is enabled.
capacity_reservation_specificationcorejsonThe capacity reservation specification for the Auto Scaling group.
contextcorestringReserved.
created_timecoretimestampThe date and time the Auto Scaling group was created.
default_cooldowncoreint64The duration of the default cooldown period, in seconds, for the Auto Scaling group.
default_instance_warmupcoreint64The duration of the default EC2 instance warmup time, in seconds, for the Auto Scaling group.
desired_capacitycoreint64The desired size of the Auto Scaling group.
desired_capacity_typecorestringThe unit of measurement for the value specified for desired capacity. Amazon EC2 Auto Scaling supports DesiredCapacityType for attribute-based instance type selection only.
enabled_metricscorejsonThe metrics enabled for the Auto Scaling group.
health_check_grace_periodcoreint64The duration of the health check grace period, in seconds, for the Auto Scaling group.
health_check_typecorestringOne or more comma-separated health check types for the Auto Scaling group.
instance_maintenance_policycorejsonAn instance maintenance policy.
instancescorejsonThe EC2 instances associated with the Auto Scaling group.
launch_configuration_namecorestringThe name of the associated launch configuration for the Auto Scaling group.
launch_templatecorejsonThe launch template for the Auto Scaling group.
load_balancer_namescorearray<string>One or more load balancers associated with the group.
max_instance_lifetimecoreint64The maximum amount of time, in seconds, that an EC2 instance can be in service for the Auto Scaling group.
max_sizecoreint64The maximum size of the Auto Scaling group.
min_sizecoreint64The minimum size of the Auto Scaling group.
mixed_instances_policycorejsonThe mixed instances policy for the group.
new_instances_protected_from_scale_incoreboolIndicates whether newly launched EC2 instances are protected from termination when scaling in for the Auto Scaling group. 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_groupcorestringThe name of the placement group into which to launch EC2 instances for the Auto Scaling group.
predicted_capacitycoreint64The predicted capacity of the group when it has a predictive scaling policy.
service_linked_role_arncorestringThe Amazon Resource Name (ARN) of the service-linked role that the Auto Scaling group uses to call other Amazon Web Services on your behalf.
statuscorestringThe current state of the Auto Scaling group when the DeleteAutoScalingGroup operation is in progress.
suspended_processescorejsonThe suspended processes associated with the Auto Scaling group.
tagscorehstore_csv
target_group_arnscorearray<string>The Amazon Resource Names (ARN) of the target groups for your load balancer.
termination_policiescorearray<string>The termination policies for the Auto Scaling group.
traffic_sourcescorejsonThe traffic sources associated with this Auto Scaling group.
vpc_zone_identifiercorestringOne or more comma-separated subnet IDs for the Auto Scaling group.
warm_pool_configurationcorejsonThe warm pool for the group.
warm_pool_sizecoreint64The current size of the warm pool.