Wait for state
Wait until every instance named is in a state, e.g. running after a start or stopped after a stop.
Command in the AWS EC2 toolkit · id ooa.aws_ec2/wait_for_state · 5 inputs (1 required), 1 output
Inputs
| Input | Type | Required | Default | What it is |
|---|---|---|---|---|
| Session | String | No | ec2 | Name of the session opened by Connect. |
| Instance IDs | List | Yes | Instances by id or by Name tag, e.g. ["i-0abc1234def567890"] or ["Invoice bot"]. | |
| State | String | No | running | The state to wait for. |
| Timeout (seconds) | Number | No | 600 | Stop waiting after this many seconds and fail with WAIT_TIMEOUT. |
| Check every (seconds) | Number | No | 10 | Seconds between checks. |
Outputs
| Output | Type | What it is |
|---|---|---|
| states | Dictionary | Instance id to the state it was in at the end. |