aws ec2 reset-snapshot-attribute
Resets permission settings for the specified snapshot. AWS CLI reference
1 example 3 options Its page in the AWS CLI reference
Examples
To reset a snapshot attribute
The following reset-snapshot-attribute example resets the create volume permissions for snapshot snap-1234567890abcdef0.
aws ec2 reset-snapshot-attribute --snapshot-id snap-1234567890abcdef0 --attribute createVolumePermissionIdentify--snapshot-idThe ID of the snapshot.--attributeThe attribute to reset.This command produces no output.
For more information, see Share an Amazon EBS snapshot with other AWS accounts in the Amazon EBS User Guide.
Options
--attributeThe attribute to reset.--dry-runChecks whether you have the required permissions for the action, without actually making the request, and provides an error response.--snapshot-idThe ID of the snapshot.