How to Modify Snapshot Permissions
This section describes how to modify permissions for snapshots that you created.
Note | |
---|---|
When the snapshot is complete, its status will change to |
Procedure
To describe snapshots
-
If you are using SOAP, construct the following request:
<DescribeSnapshotAttribute xmlns="http://ec2.amazonaws.com/doc/2009-08-15/"> <snapshotId>
snapshot-id
</snapshotId> </DescribeSnapshotAttribute> -
If you are using Query, construct the following request:
https://ec2.amazonaws.com/ ?Action=DescribeSnapshotAttribute &SnapshotId=
snapshot-id
&...auth parameters... -
View output similar to the following:
<DescribeSnapshotAttributeResponse xmlns="http://ec2.amazonaws.com/doc/2009-08-15/"> <snapshotId>snap-78a54011</snapshotId> <createVolumePermission/> </DescribeSnapshotAttributeResponse>
-
If you are using SOAP, construct the following request to make the snapshot public:
<ModifySnapshotAttribute xmlns="http://ec2.amazonaws.com/doc/2009-08-15/"> <snapshotId>
snapshot-id
</snapshotId> <createVolumePermission> <add> <item> <group>all</group> </item> </add> </createVolumePermission> </ModifySnapshotAttribute> -
If you are using Query, construct the following request to make the snapshot public:
https://ec2.amazonaws.com/ ?Action=ModifySnapshotAttribute &SnapshotId.1=
snapshot-id
&Add.1=all &...auth parameters... -
View output similar to the following:
<ModifySnapshotAttributeResponse xmlns="http://ec2.amazonaws.com/doc/2009-08-15/"> <return>true</return> </ModifySnapshotAttributeResponse>