Skip to main content

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​

InputTypeRequiredDefaultWhat it is
SessionStringNoec2Name of the session opened by Connect.
Volume IDStringNoOnly snapshots of this volume. Leave empty for all.
TagsDictionaryNoOnly snapshots with these tag values, e.g. {"Team": "Finance"}.
OwnerStringNoselfWhose snapshots: self (this account), amazon, or an AWS account id.
FiltersDictionaryNoMore EC2 filters, name to value or list of values, e.g. {"status": "completed"}.
Maximum resultsNumberNo1000Stop after this many snapshots.

Outputs​

OutputTypeWhat it is
snapshotsTableColumns: snapshot_id, volume_id, state, progress, start_time, volume_size_gib, description, encrypted, owner_id, tags.
snapshot_idsListThe ids of the snapshots found.
countNumberHow many snapshots were found.