AWS

Download 187
Last updated Feb 21, 2024

aws-ec2-addresses

Describes all of your Elastic IP addresses.

aws-ec2-addresses [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:DescribeAddresses

Output Fields

FieldTypeNameDescription
aws_profileStringConnect profileThe identifier of AWS connect profile
regionStringRegione.g. ap-northeast-2
instance_idStringInstance IDe.g. i-00123456789abcdef
public_ipIP addressPublic IP
private_ipIP addressPrivate IP
domainStringDomainEC2-Classic (standard) or VPC (vpc)
alloc_idStringAllocation IDThe ID representing the allocation of the address for use with EC2-VPC.
assoc_idStringAssociation IDThe ID representing The association of the address with an instance in a VPC.
nic_idStringNIC IDThe ID of the network interface.
nic_owner_idStringNIC owner IDThe ID of the AWS account that owns the network interface.
public_ipv4_poolStringPublic IPv4 poolThe ID of an address pool.
tagsListTagsElements with key and value properties.