Skip to content

Guardduty  >  Structures  >  NetworkInterface

NetworkInterface

Structure Class

NetworkInterface dataclass

Contains information about the elastic network interface of the EC2 instance.

Attributes

ipv6_addresses class-attribute instance-attribute
ipv6_addresses: list[str] | None = None

A list of IPv6 addresses for the EC2 instance.

network_interface_id class-attribute instance-attribute
network_interface_id: str | None = None

The ID of the network interface.

private_dns_name class-attribute instance-attribute
private_dns_name: str | None = None

The private DNS name of the EC2 instance.

private_ip_address class-attribute instance-attribute
private_ip_address: str | None = field(repr=False, default=None)

The private IP address of the EC2 instance.

private_ip_addresses class-attribute instance-attribute
private_ip_addresses: list[PrivateIpAddressDetails] | None = None

Other private IP address information of the EC2 instance.

public_dns_name class-attribute instance-attribute
public_dns_name: str | None = None

The public DNS name of the EC2 instance.

public_ip class-attribute instance-attribute
public_ip: str | None = None

The public IP address of the EC2 instance.

security_groups class-attribute instance-attribute
security_groups: list[SecurityGroup] | None = None

The security groups associated with the EC2 instance.

subnet_id class-attribute instance-attribute
subnet_id: str | None = None

The subnet ID of the EC2 instance.

vpc_id class-attribute instance-attribute
vpc_id: str | None = None

The VPC ID of the EC2 instance.