Describe instances
List instances with their state, type, addresses and tags: all of them, the ones you name, or those that match filters.
Command in the AWS EC2 toolkit · id ooa.aws_ec2/describe_instances · 4 inputs, 3 outputs
Inputs
| Input | Type | Required | Default | What it is |
|---|---|---|---|---|
| Session | String | No | ec2 | Name of the session opened by Connect. |
| Instance IDs | List | No | Instances by id or by Name tag, e.g. ["i-0abc1234def567890"] or ["Invoice bot"]. Leave empty for all. | |
| Filters | Dictionary | No | EC2 filters, name to value or list of values, e.g. {"instance-state-name": "running", "tag:Team": ["Finance", "HR"]}. | |
| Maximum results | Number | No | 1000 | Stop after this many instances. |
Outputs
| Output | Type | What it is |
|---|---|---|
| instances | Table | Columns: instance_id, name, state, instance_type, image_id, private_ip, public_ip, availability_zone, launch_time, monitoring, tags. |
| instance_ids | List | The ids of the instances found. |
| count | Number | How many instances were found. |