AWS

Download 48
Last updated Jun 6, 2022

aws-ec2-images

Describes all of the images available to you.

aws-ec2-images [profile=PROFILE] [region=REGION]
profile=PROFILE
The identifier of AWS connect profile
region=REGION
AWS region

AWS IAM Policy

To use this command, you must allow the below permissions in your AWS IAM policy:

  • ec2:DescribeImages

Output Fields

FieldTypeNameDescription
aws_profileStringConnect profileThe identifier of AWS connect profile
regionStringRegione.g. ap-northeast-2
image_typeStringImage typee.g. kernel, machine
image_idStringImage IDe.g. ami-0052269debf94f527
nameStringNamee.g. CentOS Stream 9 x86_64 20220120
archStringArche.g. x86_64
publicBoolPublictrue or false
owner_idStringOwner IDe.g. 125523088429
owner_aliasStringOwner aliase.g. aws-marketplace
platformStringPlatforme.g. windows
hypervisorStringHypervisore.g. xen
virtualization_typeStringVirtualization typee.g. hvm, paravirtual
descriptionStringDescriptione.g. CentOS Stream 9 x86_64 20220120
stateStringStatee.g. available
state_reasonStringState reasonThe reason for the state change.
ena_supportBoolENA supportEnhanced networking capabilities through the Elastic Network Adapter
locationStringLocatione.g. 125523088429/CentOS Stream 9 x86_64 20220120
kernel_idStringKernel IDe.g. aki-01a66b6f
ramdisk_idStringRamdisk ID
root_device_nameStringRoot device namee.g. /dev/sda1
root_device_typeStringRoot device typee.g. ebs, instance-store
sriov_net_supportStringSR-IOV supportSingle root I/O virtualization. e.g. simple
created_atDateCreated atThe date and time the image was created.
product_codesListProduct codesElements with id and type properties.
block_device_mappingsListBlock device mappingsElements with no_device, device_name, and virtual_name properties.
tagsListTagsElements with key and value properties.