Collapse AllExpand All


Show an image attribute. You can get information about only one attribute per request.


euca-describe-image-attribute [-B, --block-device-mapping][-l,
     --launch-permission][-p, --product-
     code][--kernel][--ramdisk] image_id


Option Description Required
image_id Unique identifier for the image that you want to retrieve the attributes for Yes
-l, --launch-permission Describes the launch permissions of the image No
-p, --product-code Describes the product code associated with the image No
-B, --block-device-mapping Describes mapping that defines device names to use when exposing virtual devices. No
--kernel Describe the kernel ID the image will be launched with No
--ramdisk Describe the RAM disk ID the image will be launched No with. No

Common Options

Option Description
--region region Region to direct requests to. Only valid for EC2 endpoints.
-U,--url url URL of the cloud to connect to. Expects an EC2 endpoint /services/Eucalyptus.
-a,--access-key access_key_id User's access key ID
-s,--secret-key secret_key User's secret key
--config configuration_path Read credentials and cloud settings from the specified config file.
Default: $HOME/.eucarc or /etc/euca2ools/eucarc.
--debug Prints what the command sends to the server and what it receives from the server. Use when you're trying to debug Euca2ools.
--debugger Enable interactive debugger on error
-h,--help Display the manual page for the command.
--version Display the version of this tool


  • Attribute type identifier
  • Image ID
  • Information about the attribute


Example using block device mapping:
euca-describe-image-attribute -B emi-815A395B
blockDeviceMapping  emi-815A395B    blockDeviceMap  /dev/sda1: root
blockDeviceMapping  emi-815A395B    blockDeviceMap  sda2: ephemeral0
blockDeviceMapping  emi-815A395B    blockDeviceMap  sda3: swap
blockDeviceMapping  emi-815A395B    blockDeviceMap  sda1: emi
Example using launch permission:
euca-describe-image-attribute -l emi-815A395B
launchPermission    emi-815A395B    group   all
launchPermission    emi-815A395B    userId  790547641019