List snapshots
List snapshots owned by this account (or another owner), optionally only those of one volume or with certain tags.
Command in the AWS EC2 toolkit · id ooa.aws_ec2/list_snapshots · 6 inputs, 3 outputs
Inputs
| Input | Type | Required | Default | What it is |
|---|---|---|---|---|
| Session | String | No | ec2 | Name of the session opened by Connect. |
| Volume ID | String | No | Only snapshots of this volume. Leave empty for all. | |
| Tags | Dictionary | No | Only snapshots with these tag values, e.g. {"Team": "Finance"}. | |
| Owner | String | No | self | Whose snapshots: self (this account), amazon, or an AWS account id. |
| Filters | Dictionary | No | More EC2 filters, name to value or list of values, e.g. {"status": "completed"}. | |
| Maximum results | Number | No | 1000 | Stop after this many snapshots. |
Outputs
| Output | Type | What it is |
|---|---|---|
| snapshots | Table | Columns: snapshot_id, volume_id, state, progress, start_time, volume_size_gib, description, encrypted, owner_id, tags. |
| snapshot_ids | List | The ids of the snapshots found. |
| count | Number | How many snapshots were found. |