A table containing the following information is returned:
Attribute type identifier
ID of the AMI of which an attribute is being described.
Attribute value type or attribute list item value type.
Attribute or attribute list item value.
Errors are displayed on stderr.
| Option | Definition | Required? | Example |
|---|---|---|---|
-l | Describes the launchPermission attribute. | Choice | -l |
-p | Describes the productCodes attribute. | Choice | -p |
$ec2-describe-image-attribute ami-5bae4b32 -llaunchPermission ami-5bae4b32 group all launchPermission ami-5bae4b32 userId 495219933132
$ec2-describe-image-attribute ami-5bae4b32 -pproductCodes ami-5bae4b32 productCode 774F4FF8