DescribeImageAttribute
In this article:
DescribeImageAttribute#
Description#
Requests the specified attribute of the image.
Request Parameters#
Attribute — An image attribute.
Required: Yes
Type: String
Valid values:
blockDeviceMapping
|description
|launchPermission
imageId — The image ID.
Required: Yes
Type: String
Response Elements#
blockDeviceMapping — Block device mapping entries.
Type: List of BlockDeviceMapping objects
description — The description of the image.
Type: String
imageId — The image ID.
Type: String
launchPermission — Permissions to launch the instance.
Type: List of LaunchPermission objects
requestId — The request ID.
Type: String
Examples#
c2-ec2 DescribeImageAttribute ImageId cmi-3CE869E3 Attribute description
c2-ec2 DescribeImageAttribute ImageId cmi-3CE869E3 Attribute launchPermission