DescribeSnapshotAttribute - Amazon Elastic Compute Cloud


Describes the specified attribute of the specified snapshot. You can specify only one attribute at a time.

For more information about EBS snapshots, see Amazon EBS snapshots in the Amazon EBS User Guide.

Request Parameters

The following parameters are for this specific action. For more information about required and optional parameters that are common to all actions, see Common Query Parameters.


The snapshot attribute you would like to view.

Type: String

Valid Values: productCodes | createVolumePermission

Required: Yes


Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.

Type: Boolean

Required: No


The ID of the EBS snapshot.

Type: String

Required: Yes

Response Elements

The following elements are returned by the service.


The users and groups that have the permissions for creating volumes from the snapshot.

Type: Array of CreateVolumePermission objects


The product codes.

Type: Array of ProductCode objects


The ID of the request.

Type: String


The ID of the EBS snapshot.

Type: String


For information about the errors that are common to all actions, see Common client error codes.



This example describes the create volume permissions for the specified snapshot.

Sample Request &SnapshotId=snap-1234567890abcdef0 &Attribute=createVolumePermission &AUTHPARAMS

Sample Response

<DescribeSnapshotAttributeResponse xmlns=""> <requestId>59dbff89-35bd-4eac-99ed-be587EXAMPLE</requestId> <snapshotId>snap-1234567890abcdef0</snapshotId> <createVolumePermission> <item> <group>all</group> </item> </createVolumePermission> </DescribeSnapshotAttributeResponse>

See Also

For more information about using this API in one of the language-specific AWS SDKs, see the following: