ec2-reset-image-attribute
ami_id
-l
Option | Description | Required |
---|---|---|
|
The identifier that was assigned to the AMI when it was registered. Example: |
Yes |
|
Resets the Example: |
Yes |
Amazon EC2 returns a table that contains the following information:
-
Attribute type identifier
-
ID of the AMI on which the attribute is being reset
-
Action identifier ("RESET")
Amazon EC2 displays errors on stderr
.
This example resets the launchPermission
attribute.
$
ec2-reset-image-attribute ami-6ba54002 -l
launchPermission ami-6ba54002 RESET