AWS

Download 187
Last updated Feb 21, 2024

aws-auto-scaling-set-desired-capacity

Sets the size of the specified AWS Auto Scaling group.

aws-auto-scaling-set-desired-capacity profile=PROFILE region=REGION name=NAME capacity=CAPACITY
profile=PROFILE
The identifier of AWS connect profile
region=REGION
AWS region
name=NAME
Autoscaling group name
capacity=CAPACITY
Desired capacity

AWS IAM Policy

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

  • autoscaling:SetDesiredCapacity

Be sure to qualify the target resource as this command changes settings.

Output Fields

FieldTypeNameDescription
aws_profileStringConnect profileThe identifier of AWS connect profile
regionStringRegione.g. ap-northeast-2
nameStringAutoscaling group name
capacityIntegerDesired capacity
statusIntegerHTTP statuse.g. 200