CmdID

CmdID / aws / aws autoscaling

aws autoscaling update-auto-scaling-group

We strongly recommend that all Auto Scaling groups use launch templates to ensure full functionality for Amazon EC2 Auto Scaling and Amazon EC2. AWS CLI reference

29 options Its page in the AWS CLI reference

Opens CmdID with your command. It is read in your browser and sent nowhere.

Options

29 in the AWS CLI reference
Show its 29 options
--auto-scaling-group-nameThe name of the Auto Scaling group.
--availability-zone-distributionThe instance capacity distribution across Availability Zones.
--availability-zone-idsA list of Availability Zone IDs for the Auto Scaling group.
--availability-zone-impairment-policyThe policy for Availability Zone impairment.
--availability-zonesOne or more Availability Zones for the group.
--capacity-rebalanceEnables or disables Capacity Rebalancing.
--capacity-reservation-specificationThe capacity reservation specification for the Auto Scaling group.
--contextReserved.
--default-cooldownOnly needed if you use simple scaling policies.
--default-instance-warmupThe amount of time, in seconds, until a new instance is considered to have finished initializing and resource consumption to become stable after it enters the InService state.
--deletion-protectionThe deletion protection setting for the Auto Scaling group.
--desired-capacity-typeThe unit of measurement for the value specified for desired capacity.
--desired-capacityThe desired capacity is the initial capacity of the Auto Scaling group after this operation completes and the capacity it attempts to maintain.
--health-check-grace-periodThe amount of time, in seconds, that Amazon EC2 Auto Scaling waits before checking the health status of an EC2 instance that has come into service and marking it unhealthy due to a failed health check.
--health-check-typeA comma-separated value string of one or more health check types.
--instance-lifecycle-policyThe instance lifecycle policy for the Auto Scaling group.
--instance-maintenance-policyAn instance maintenance policy.
--launch-configuration-nameThe name of the launch configuration.
--launch-templateThe launch template and version to use to specify the updates.
--max-instance-lifetimeThe maximum amount of time, in seconds, that an instance can be in service.
--max-sizeThe maximum size of the Auto Scaling group.
--min-sizeThe minimum size of the Auto Scaling group.
--mixed-instances-policyThe mixed instances policy.
--new-instances-protected-from-scale-inIndicates whether newly launched instances are protected from termination by Amazon EC2 Auto Scaling when scaling in.
--placement-groupThe name of an existing placement group into which to launch your instances.
--service-linked-role-arnThe Amazon Resource Name (ARN) of the service-linked role that the Auto Scaling group uses to call other Amazon Web Services on your behalf.
--skip-zonal-shift-validationIf you enable zonal shift with cross-zone disabled load balancers, capacity could become imbalanced across Availability Zones.
--termination-policiesA policy or a list of policies that are used to select the instances to terminate.
--vpc-zone-identifierA comma-separated list of subnet IDs for a virtual private cloud (VPC).