AWS

Download 184
Last updated Feb 21, 2024

aws-auto-scaling-groups

Describes one or more AWS Auto Scaling groups.

aws-auto-scaling-groups [profile=PROFILE] [region=REGION]
profile=PROFILE
The identifier of AWS connect profile
region=REGION
AWS region

AWS IAM Policy

To use this command, you must allow the below permissions in your AWS IAM policy:

  • autoscaling:DescribeAutoScalingGroups

Output Fields

FieldTypeNameDescription
aws_profileStringConnect profileThe identifier of AWS connect profile
regionStringRegione.g. ap-northeast-2
azListAvailability Zonese.g. [ap-northeast-2a]
nameStringName
created_atDateCreated at
load_balancer_namesListLoad balancer names
min_sizeIntegerMin size
max_sizeIntegerMax size
statusStringStatus
default_cooldownIntegerDefault cooldowne.g. 300
desired_capacityIntegerDesired capacity
health_check_typeStringHealth check typee.g. EC2
health_check_grace_periodIntegerHealth check grace periode.g. 300
launch_config_nameStringLaunch config name
arnStringARN
vpc_zone_idStringVPC zone ID
launch_template_idStringLaunch template ID
launch_template_nameStringLaunch template name
launch_template_versionStringLaunch template versione.g. $Default
instancesListInstancesElements with az, instance_id, health_status, lifecycle_status, launch_template_id, launch_template_name, launch_template_version, launch_config_name, and protected_from_scale_in properties
metricsListMetricsElements with metric and granularity properties
placement_groupStringPlacement group
suspended_processesListSuspended processes
target_group_arnsListTarget group ARNs
termination_policiesListTermination policiese.g. [Default]
service_linked_role_arnStringService linked role ARN
new_instances_protected_from_scale_inBoolNew instance protected from scale in
tagsListTagsElements with key and value properties