You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.

Class: Aws::GuardDuty::Types::NetworkInterface

Inherits:
Struct
  • Object
show all
Defined in:
(unknown)

Overview

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

Instance Attribute Summary collapse

Instance Attribute Details

#ipv_6_addressesArray<String>

A list of IPv6 addresses for the EC2 instance.

Returns:

  • (Array<String>)

    A list of IPv6 addresses for the EC2 instance.

#network_interface_idString

The ID of the network interface.

Returns:

  • (String)

    The ID of the network interface.

#private_dns_nameString

The private DNS name of the EC2 instance.

Returns:

  • (String)

    The private DNS name of the EC2 instance.

#private_ip_addressString

The private IP address of the EC2 instance.

Returns:

  • (String)

    The private IP address of the EC2 instance.

#private_ip_addressesArray<Types::PrivateIpAddressDetails>

Other private IP address information of the EC2 instance.

Returns:

#public_dns_nameString

The public DNS name of the EC2 instance.

Returns:

  • (String)

    The public DNS name of the EC2 instance.

#public_ipString

The public IP address of the EC2 instance.

Returns:

  • (String)

    The public IP address of the EC2 instance.

#security_groupsArray<Types::SecurityGroup>

The security groups associated with the EC2 instance.

Returns:

#subnet_idString

The subnet ID of the EC2 instance.

Returns:

  • (String)

    The subnet ID of the EC2 instance.

#vpc_idString

The VPC ID of the EC2 instance.

Returns:

  • (String)

    The VPC ID of the EC2 instance.