Name
ec2-describe-image-attribute
Synopsis
ec2-describe-image-attribute imageid
(-l | -p)
Describes the attributes for a specific AMI. You specify whether you want to see the launch permissions or the product codes.
Examples
# SHOW LAUNCH PERMISSIONS $ec2-describe-image-attribute ami-f822a39b -l
launchPermission ami-f822a39b userId 999999999999 # SHOW PRODUCT CODE $ec2-describe-image-attribute ami-f822a39b -p
productCodes ami-f822a39b productCode zz95xy
Get Cloud Application Architectures now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.