aws ec2 modify-image-attribute
Modifies the specified attribute of the specified AMI. AWS CLI reference
13 options Its page in the AWS CLI reference
Options
--attributeThe name of the attribute to modify.--descriptionA new description for the AMI.--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.--imds-supportSet to v2.0 to indicate that IMDSv2 is specified in the AMI.--launch-permissionA new launch permission for the AMI.--operation-typeThe operation type.--organization-arnsThe Amazon Resource Name (ARN) of an organization.--organizational-unit-arnsThe Amazon Resource Name (ARN) of an organizational unit (OU).--product-codesNot supported.--user-groupsThe user groups.--user-idsThe Amazon Web Services account IDs.--valueThe value of the attribute being modified.