ec2-describe-image-attribute
ec2-describe-image-attribute AMI ( -l | -p )
Describes an attribute for the specified AMI.
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 -l
launchPermission ami-5bae4b32 group all launchPermission ami-5bae4b32 userId 495219933132
$
ec2-describe-image-attribute ami-5bae4b32 -p
productCodes ami-5bae4b32 productCode 774F4FF8