Create Snapshots

Create snapshots of EBS volumes.

Source codePermissions

Usage

Input

Parameter Description Type Required Default Value
volume_ids Volume IDs to create snapshots for list(string) Yes None
region Region for operation. Leave blank for session default string No Session Default
debug Increase log verbosity bool No False
silent Decrease log verbosity bool No False
output Output format
table
string No None
session Established session object No None

Output

Returns a list of snapshot IDs that were created:

['snap-1234567890abcdef0', 'snap-abcdef1234567890']

Examples

Create snapshots of volumes:

aaws ec2 create_snapshots --volume_ids vol-1234567890abcdef0 vol-abcdef1234567890