---
title: "GET /#Action=SetDesiredCapacity"
method: GET
path: "/#Action=SetDesiredCapacity"
---

# GET /#Action=SetDesiredCapacity

`GET /#Action=SetDesiredCapacity`

Sets the size of the specified Auto Scaling group.

If a scale-in activity occurs as a result of a new `DesiredCapacity` value that is lower than the current size of the group, the Auto Scaling group uses its termination policy to determine which instances to terminate.

For more information, see [Manual scaling](https://docs.aws.amazon.com/autoscaling/ec2/userguide/as-manual-scaling.html) in the _Amazon EC2 Auto Scaling User Guide_.

## Query parameters

- `AutoScalingGroupName` string, required
- `DesiredCapacity` integer, required
- `HonorCooldown` boolean
- `Action` 'SetDesiredCapacity', required
- `Version` '2011-01-01', required

## Response `200`

Success

## Other responses

- `480` — ScalingActivityInProgressFault
- `481` — ResourceContentionFault

---

[API](https://skmtc.net/aws/apis/autoscaling.md) · [All operations](https://skmtc.net/aws/apis/autoscaling/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/aws/autoscaling/versions/5e07057bfecf/schema)
