Key |
Returned |
Description |
network_interfaces
complex
|
always |
List of matching elastic network interfaces
|
|
status
string
|
always |
Indicates if the network interface is attached to an instance or not
Sample:
in-use
|
|
description
string
|
always |
Description text for ENI
Sample:
My favourite network interface
|
|
availability_zone
string
|
always |
Availability zone of ENI
Sample:
us-east-1b
|
|
interface_type
string
|
always |
Type of the network interface
Sample:
interface
|
|
ipv6_addresses
list
|
always |
List of IPv6 addresses for this interface
|
|
requester_managed
bool
|
always |
Indicates whether the network interface is being managed by an AWS service.
|
|
groups
list
|
always |
List of attached security groups
Sample:
[{'group_id': 'sg-26d0f1234', 'group_name': 'my_ec2_security_group'}]
|
|
requester_id
string
|
always |
The ID of the entity that launched the ENI
Sample:
AIDAIONYVJQNIAZFT3ABC
|
|
association
dict
|
always, empty dict if no association exists |
Info of associated elastic IP (EIP)
Sample:
{'public_dns_name': 'ec2-52-1-0-63.compute-1.amazonaws.com', 'association_id': 'eipassoc-8sdf123', 'ip_owner_id': '4415120123456', 'public_ip': '52.1.0.63', 'allocation_id': 'eipalloc-5sdf123'}
|
|
id
string
|
always |
The id of the ENI (alias for network_interface_id)
Sample:
eni-392fsdf
|
|
source_dest_check
bool
|
always |
Indicates whether the network interface performs source/destination checking.
|
|
private_dns_name
string
|
always |
Private DNS name for the ENI
Sample:
ip-172-16-1-180.ec2.internal
|
|
subnet_id
string
|
always |
Subnet ID the ENI is in
Sample:
subnet-7bbf01234
|
|
tag_set
dict
|
always |
Dictionary of tags added to the ENI
|
|
network_interface_id
string
|
always |
The id of the ENI
Sample:
eni-392fsdf
|
|
attachment
dict
|
always, empty dict if ENI is not attached |
Infor about attached ec2 instance
Sample:
{'status': 'attached', 'instance_id': 'i-15b8d3cadbafa1234', 'attachment_id': 'eni-attach-149d21234', 'attach_time': '2017-08-05T15:25:47+00:00', 'instance_owner_id': '4415120123456', 'device_index': 1, 'delete_on_termination': False}
|
|
private_ip_addresses
list
|
always |
List of private IP addresses attached to the ENI
|
|
mac_address
string
|
always |
MAC address of the network interface
Sample:
0a:f8:10:2f:ab:a1
|
|
private_ip_address
string
|
always |
Private IP address for the ENI
Sample:
172.16.1.180
|
|
vpc_id
string
|
always |
ID of the VPC the network interface it part of
Sample:
vpc-b3f1f123
|
|
owner_id
string
|
always |
AWS account id of the owner of the ENI
Sample:
4415120123456
|