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
Field | Type | Name | Description |
---|---|---|---|
aws_profile | String | Connect profile | The identifier of AWS connect profile |
region | String | Region | e.g. ap-northeast-2 |
image_type | String | Image type | e.g. kernel, machine |
image_id | String | Image ID | e.g. ami-0052269debf94f527 |
name | String | Name | e.g. CentOS Stream 9 x86_64 20220120 |
arch | String | Arch | e.g. x86_64 |
public | Bool | Public | true or false |
owner_id | String | Owner ID | e.g. 125523088429 |
owner_alias | String | Owner alias | e.g. aws-marketplace |
platform | String | Platform | e.g. windows |
hypervisor | String | Hypervisor | e.g. xen |
virtualization_type | String | Virtualization type | e.g. hvm, paravirtual |
description | String | Description | e.g. CentOS Stream 9 x86_64 20220120 |
state | String | State | e.g. available |
state_reason | String | State reason | The reason for the state change. |
ena_support | Bool | ENA support | Enhanced networking capabilities through the Elastic Network Adapter |
location | String | Location | e.g. 125523088429/CentOS Stream 9 x86_64 20220120 |
kernel_id | String | Kernel ID | e.g. aki-01a66b6f |
ramdisk_id | String | Ramdisk ID | |
root_device_name | String | Root device name | e.g. /dev/sda1 |
root_device_type | String | Root device type | e.g. ebs, instance-store |
sriov_net_support | String | SR-IOV support | Single root I/O virtualization. e.g. simple |
created_at | Date | Created at | The date and time the image was created. |
product_codes | List | Product codes | Elements with id and type properties. |
block_device_mappings | List | Block device mappings | Elements with no_device, device_name, and virtual_name properties. |
tags | List | Tags | Elements with key and value properties. |