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
Field | Type | Name | Description |
---|---|---|---|
aws_profile | String | Connect profile | The identifier of AWS connect profile |
region | String | Region | e.g. ap-northeast-2 |
instance_id | String | Instance ID | e.g. i-00123456789abcdef |
public_ip | IP address | Public IP | |
private_ip | IP address | Private IP | |
domain | String | Domain | EC2-Classic (standard) or VPC (vpc) |
alloc_id | String | Allocation ID | The ID representing the allocation of the address for use with EC2-VPC. |
assoc_id | String | Association ID | The ID representing The association of the address with an instance in a VPC. |
nic_id | String | NIC ID | The ID of the network interface. |
nic_owner_id | String | NIC owner ID | The ID of the AWS account that owns the network interface. |
public_ipv4_pool | String | Public IPv4 pool | The ID of an address pool. |
tags | List | Tags | Elements with key and value properties. |