CmdID

CmdID / aws / aws autoscaling

aws autoscaling create-auto-scaling-group

We strongly recommend using a launch template when calling this operation to ensure full functionality for Amazon EC2 Auto Scaling and Amazon EC2. AWS CLI reference

36 options Its page in the AWS CLI reference

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

Options

36 in the AWS CLI reference
Show its 36 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 where the Auto Scaling group can launch instances.
--availability-zone-impairment-policyThe policy for Availability Zone impairment.
--availability-zonesA list of Availability Zones where instances in the Auto Scaling group can be created.
--capacity-rebalanceIndicates whether Capacity Rebalancing is enabled.
--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 at the time of its creation 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-idThe ID of the instance used to base the launch configuration on.
--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 to use to launch instances.
--launch-templateInformation used to specify the launch template and version to use to launch instances.
--lifecycle-hook-specification-listOne or more lifecycle hooks to add to the Auto Scaling group before instances are launched.
--load-balancer-namesA list of Classic Load Balancers associated with this Auto Scaling group.
--max-instance-lifetimeThe maximum amount of time, in seconds, that an instance can be in service.
--max-sizeThe maximum size of the group.
--min-sizeThe minimum size of the 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.
--operatorThe entity that manages the Auto Scaling group.
--placement-groupThe name of the 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 service on your behalf.
--skip-zonal-shift-validationIf you enable zonal shift with cross-zone disabled load balancers, capacity could become imbalanced across Availability Zones.
--tagsOne or more tags.
--target-group-arnsThe Amazon Resource Names (ARN) of the Elastic Load Balancing target groups to associate with the Auto Scaling group.
--termination-policiesA policy or a list of policies that are used to select the instance to terminate.
--traffic-sourcesThe list of traffic sources to attach to this Auto Scaling group.
--vpc-zone-identifierA comma-separated list of subnet IDs for a virtual private cloud (VPC) where instances in the Auto Scaling group can be created.