Returns information about an attribute of a snapshot. Only one attribute can be specified per call.
ec2-describe-snapshot-attribute
snapshot_id -c
| Name | Description | Required |
|---|---|---|
|
|
The ID of the Amazon EBS snapshot. Type: String Default: None Example: snap-78a54011 |
No |
|
|
Describes the create volume permissions of the snapshot. Type: String Default: None Example: |
Yes |
The command returns a table that contains the following information:
Attribute type identifier
ID of the snapshot
Attribute value type or attribute list item value type
Attribute or attribute list item value
Amazon EC2 displays errors on stderr.
This example describes permissions for the snap-78a54011 snapshot.
PROMPT>ec2-describe-snapshot-attribute snap-7ddb6e14 -ccreateVolumePermission snap-7ddb6e14 userId 123456789012