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
Field | Type | Name | Description |
---|---|---|---|
aws_profile | String | Connect profile | The identifier of AWS connect profile |
region | String | Region | e.g. ap-northeast-2 |
name | String | Autoscaling group name | |
capacity | Integer | Desired capacity | |
status | Integer | HTTP status | e.g. 200 |