ec2-delete-snapshot
Syntax
ec2-delete-snapshot
snapshot_id
Description
Deletes an Amazon EBS snapshot.
Options
Option | Description | Required |
---|---|---|
| The ID of the snapshot to delete. Example: | Yes |
Output
Amazon EBS returns a table that contains the following information:
SNAPSHOT identifier
ID of the snapshot
Amazon EBS displays errors on stderr
.
Example
This example deletes snapshot snap-78a54011
.
PROMPT>
ec2-delete-snapshot snap-78a54011
SNAPSHOT snap-78a54011