The DescribeImageAttribute operation returns
information about an attribute of an AMI.
The following table describes the request parameters for
DescribeImageAttribute. Parameter names are case
sensitive.
| Element Name | Definition | Required? | Type |
|---|---|---|---|
imageId
| ID of the AMI for which an attribute will be described. | Yes | xsd:string |
launchPermission | Describes launch permissions of the AMI. | Yes | ec2:EmptyElementType |
The following table describes the default response tags included
in DescribeImageAttribute responses.
| Element Name | Definition | Type |
|---|---|---|
imageId
| ID of the AMI of which parameters are being described. | xsd:string |
launchPermission | Launch permissions of the AMI. | ec2:LaunchPermissionItemType[] |
<DescribeImageAttribute xmlns="http://ec2.amazonaws.com/doc/2007-01-19"> <imageId>ami-61a54008</imageId> <launchPermission /> </DescribeImageAttribute>
<DescribeImageAttributeResponse xmlns="http://ec2.amazonaws.com/doc/2007-01-19">
<imageId>ami-61a54008</imageId>
<launchPermission>
<item>
<group>all</group>
</item>
<item>
<userId>495219933132</userId>
</item>
</launchPermission>
</DescribeImageAttributeResponse>