Skip to content

Guardduty  >  Structures  >  Ec2NetworkInterface

Ec2NetworkInterface

Structure Class

Ec2NetworkInterface dataclass

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

Attributes

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

A list of IPv6 addresses for the Amazon EC2 instance.

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

Other private IP address information of the Amazon EC2 instance.

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

The public IP address of the Amazon EC2 instance.

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

The security groups associated with the Amazon EC2 instance.

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

The subnet ID of the Amazon EC2 instance.

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

The VPC ID of the Amazon EC2 instance.