DescribeImageAttribute
In this article:
DescribeImageAttribute#
Description#
Requests the specified attribute of the image.
Request Parameters#
Attribute — An image attribute.
Required: Yes
Type: String
Возможные значения:
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 — Разрешения на запуск экземпляра.
Тип: Список объектов LaunchPermission
requestId — The request ID.
Type: String
Examples#
c2-ec2 DescribeImageAttribute ImageId cmi-3CE869E3 Attribute description
c2-ec2 DescribeImageAttribute ImageId cmi-3CE869E3 Attribute launchPermission