Set Capacity

autoscaling.set_desired_capacity
ActionAmazon Web Servicesconnection required

Calls the AWS autoscaling API (SigV4).

Scale a group to a desired instance count.

Connection

Required
Yes — the node will not save without one
Auth type
API key
Providers
AWS Auto Scaling
Secret shape
{"access_key_id", "secret_access_key"}
Config it needs
region
Resolved by
config.connection_id, else node.connection_id

Configuration

4 fields, 2 required. A dotted path is a nested object and name[] an array of objects — the editor renders the same tree.

FieldTypeRequiredDefaultConstraintsExample
region
AWS region (overrides the connection).
stringNo———
group_name
Auto Scaling group name.
stringYes———
desired_capacity
Target instance count.
numberYes—≥ 0—
honor_cooldown
Respect the group's cooldown.
booleanNo———

Output

One shape.

result

FieldTypeExample
ok
boolean—
group_name
string—
desired_capacity
number—
{
  "desired_capacity": 0,
  "group_name": "",
  "ok": false
}

Related AWS Auto Scaling nodes

See Set Capacity run in a workflow.

In a technical demo we add the AWS Auto Scaling connection, drop the node on the canvas and let Workflow Health pre-flight it before the first real run.