| Did this page help you? Yes No Tell us about it... |
Returns information about an attribute of a snapshot. You can get information about only one attribute per call. Currently the only attribute you can get describes who has permission to create a volume from the snapshot.
The short version of this command is ec2dsnapatt.
ec2-describe-snapshot-attribute
snapshot_id -c
| Name | Description | Required |
|---|---|---|
|
|
The ID of the Amazon EBS snapshot. Type: String Default: None Example: snap-78a54011 |
Yes |
|
|
Describes the create volume permissions of the snapshot. Type: String Default: None Example: -c |
Yes |
| Option | Description |
|---|---|
|
|
Overrides the Region specified in the Default: The Example: |
|
|
Default: The Example: |
|
|
The private key to use when constructing requests to Amazon EC2. Default: The value of the Example: |
|
|
The X.509 certificate to use when constructing requests to Amazon EC2. Default: The value of the Example: |
|
|
Specifies a connection timeout (in seconds). Example: --connection-timeout 30 |
|
|
Specifies a request timeout (in seconds). Example: --request-timeout 45 |
|
|
Displays verbose output by showing the SOAP request and response on the command line. This is particularly useful if you are building tools to talk directly to our SOAP API. |
|
|
Displays column headers in the output. |
|
|
Shows empty columns as |
|
|
Do not display tags for tagged resources. |
|
|
Prints internal debugging information. This is useful to assist us when troubleshooting problems. |
|
|
Displays Help. |
|
|
If Example: |
The command returns a table that contains the following information:
Attribute type identifier
ID of the snapshot
Attribute value
Amazon EC2 command line tools display errors on stderr.
This example describes permissions for the snap-7ddb6e14 snapshot.
PROMPT>ec2-describe-snapshot-attribute snap-7ddb6e14 -ccreateVolumePermission snap-7ddb6e14 userId 123456789012