Skip to main content

eip_association

Gets an individual eip_association resource

Overview

Nameeip_association
TypeResource
Descriptioneip_association
Idawscc.ec2.eip_association

Fields

NameDatatypeDescription
idstringComposite ID of non-empty properties, to determine the identification.
allocation_idstringThe allocation ID. This is required for EC2-VPC.
network_interface_idstringThe ID of the network interface.
instance_idstringThe ID of the instance.
private_ip_addressstringThe primary or secondary private IP address to associate with the Elastic IP address.
e_ipstringThe Elastic IP address to associate with the instance.
regionstringAWS region.

Methods

Currently only SELECT is supported for this resource resource.

Example

SELECT
region,
id,
allocation_id,
network_interface_id,
instance_id,
private_ip_address,
e_ip
FROM awscc.ec2.eip_association
WHERE data__Identifier = '<Id>';

Permissions

To operate on the eip_association resource, the following permissions are required:

Read

ec2:DescribeAddresses

Delete

ec2:DisassociateAddress,
ec2:DescribeAddresses