CmdID

CmdID / aws / aws ec2

aws ec2 enable-image-deregistration-protection

Enables deregistration protection for an AMI. AWS CLI reference

3 options Its page in the AWS CLI reference

Opens CmdID with your command. It is read in your browser and sent nowhere.

Options

3 in the AWS CLI reference
--dry-runChecks whether you have the required permissions for the action, without actually making the request, and provides an error response.
--image-idThe ID of the AMI.
--with-cooldownIf true, enforces deregistration protection for 24 hours after deregistration protection is disabled.