ec2-describe-snapshot-attribute
Description
Returns information about an attribute of a snapshot. Only one attribute can be specified per call.
Syntax
ec2-describe-snapshot-attribute
snapshot_id
-c
Options
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 |
Output
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.
Examples
Example Request
This example describes permissions for the snap-78a54011 snapshot.
PROMPT>ec2-describe-snapshot-attribute snap-7ddb6e14 -c
createVolumePermission snap-7ddb6e14 userId 123456789012