Class: Aws::Inspector::Types::NetworkInterface

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-inspector/lib/aws-sdk-inspector/types.rb

Overview

Contains information about the network interfaces interacting with an EC2 instance. This data type is used as one of the elements of the AssetAttributes data type.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#ipv6_addressesArray<String>

The IP addresses associated with the network interface.

Returns:

  • (Array<String>)


2610
2611
2612
2613
2614
2615
2616
2617
2618
2619
2620
2621
2622
2623
# File 'gems/aws-sdk-inspector/lib/aws-sdk-inspector/types.rb', line 2610

class NetworkInterface < Struct.new(
  :network_interface_id,
  :subnet_id,
  :vpc_id,
  :private_dns_name,
  :private_ip_address,
  :private_ip_addresses,
  :public_dns_name,
  :public_ip,
  :ipv6_addresses,
  :security_groups)
  SENSITIVE = []
  include Aws::Structure
end

#network_interface_idString

The ID of the network interface.

Returns:

  • (String)


2610
2611
2612
2613
2614
2615
2616
2617
2618
2619
2620
2621
2622
2623
# File 'gems/aws-sdk-inspector/lib/aws-sdk-inspector/types.rb', line 2610

class NetworkInterface < Struct.new(
  :network_interface_id,
  :subnet_id,
  :vpc_id,
  :private_dns_name,
  :private_ip_address,
  :private_ip_addresses,
  :public_dns_name,
  :public_ip,
  :ipv6_addresses,
  :security_groups)
  SENSITIVE = []
  include Aws::Structure
end

#private_dns_nameString

The name of a private DNS associated with the network interface.

Returns:

  • (String)


2610
2611
2612
2613
2614
2615
2616
2617
2618
2619
2620
2621
2622
2623
# File 'gems/aws-sdk-inspector/lib/aws-sdk-inspector/types.rb', line 2610

class NetworkInterface < Struct.new(
  :network_interface_id,
  :subnet_id,
  :vpc_id,
  :private_dns_name,
  :private_ip_address,
  :private_ip_addresses,
  :public_dns_name,
  :public_ip,
  :ipv6_addresses,
  :security_groups)
  SENSITIVE = []
  include Aws::Structure
end

#private_ip_addressString

The private IP address associated with the network interface.

Returns:

  • (String)


2610
2611
2612
2613
2614
2615
2616
2617
2618
2619
2620
2621
2622
2623
# File 'gems/aws-sdk-inspector/lib/aws-sdk-inspector/types.rb', line 2610

class NetworkInterface < Struct.new(
  :network_interface_id,
  :subnet_id,
  :vpc_id,
  :private_dns_name,
  :private_ip_address,
  :private_ip_addresses,
  :public_dns_name,
  :public_ip,
  :ipv6_addresses,
  :security_groups)
  SENSITIVE = []
  include Aws::Structure
end

#private_ip_addressesArray<Types::PrivateIp>

A list of the private IP addresses associated with the network interface. Includes the privateDnsName and privateIpAddress.

Returns:



2610
2611
2612
2613
2614
2615
2616
2617
2618
2619
2620
2621
2622
2623
# File 'gems/aws-sdk-inspector/lib/aws-sdk-inspector/types.rb', line 2610

class NetworkInterface < Struct.new(
  :network_interface_id,
  :subnet_id,
  :vpc_id,
  :private_dns_name,
  :private_ip_address,
  :private_ip_addresses,
  :public_dns_name,
  :public_ip,
  :ipv6_addresses,
  :security_groups)
  SENSITIVE = []
  include Aws::Structure
end

#public_dns_nameString

The name of a public DNS associated with the network interface.

Returns:

  • (String)


2610
2611
2612
2613
2614
2615
2616
2617
2618
2619
2620
2621
2622
2623
# File 'gems/aws-sdk-inspector/lib/aws-sdk-inspector/types.rb', line 2610

class NetworkInterface < Struct.new(
  :network_interface_id,
  :subnet_id,
  :vpc_id,
  :private_dns_name,
  :private_ip_address,
  :private_ip_addresses,
  :public_dns_name,
  :public_ip,
  :ipv6_addresses,
  :security_groups)
  SENSITIVE = []
  include Aws::Structure
end

#public_ipString

The public IP address from which the network interface is reachable.

Returns:

  • (String)


2610
2611
2612
2613
2614
2615
2616
2617
2618
2619
2620
2621
2622
2623
# File 'gems/aws-sdk-inspector/lib/aws-sdk-inspector/types.rb', line 2610

class NetworkInterface < Struct.new(
  :network_interface_id,
  :subnet_id,
  :vpc_id,
  :private_dns_name,
  :private_ip_address,
  :private_ip_addresses,
  :public_dns_name,
  :public_ip,
  :ipv6_addresses,
  :security_groups)
  SENSITIVE = []
  include Aws::Structure
end

#security_groupsArray<Types::SecurityGroup>

A list of the security groups associated with the network interface. Includes the groupId and groupName.

Returns:



2610
2611
2612
2613
2614
2615
2616
2617
2618
2619
2620
2621
2622
2623
# File 'gems/aws-sdk-inspector/lib/aws-sdk-inspector/types.rb', line 2610

class NetworkInterface < Struct.new(
  :network_interface_id,
  :subnet_id,
  :vpc_id,
  :private_dns_name,
  :private_ip_address,
  :private_ip_addresses,
  :public_dns_name,
  :public_ip,
  :ipv6_addresses,
  :security_groups)
  SENSITIVE = []
  include Aws::Structure
end

#subnet_idString

The ID of a subnet associated with the network interface.

Returns:

  • (String)


2610
2611
2612
2613
2614
2615
2616
2617
2618
2619
2620
2621
2622
2623
# File 'gems/aws-sdk-inspector/lib/aws-sdk-inspector/types.rb', line 2610

class NetworkInterface < Struct.new(
  :network_interface_id,
  :subnet_id,
  :vpc_id,
  :private_dns_name,
  :private_ip_address,
  :private_ip_addresses,
  :public_dns_name,
  :public_ip,
  :ipv6_addresses,
  :security_groups)
  SENSITIVE = []
  include Aws::Structure
end

#vpc_idString

The ID of a VPC associated with the network interface.

Returns:

  • (String)


2610
2611
2612
2613
2614
2615
2616
2617
2618
2619
2620
2621
2622
2623
# File 'gems/aws-sdk-inspector/lib/aws-sdk-inspector/types.rb', line 2610

class NetworkInterface < Struct.new(
  :network_interface_id,
  :subnet_id,
  :vpc_id,
  :private_dns_name,
  :private_ip_address,
  :private_ip_addresses,
  :public_dns_name,
  :public_ip,
  :ipv6_addresses,
  :security_groups)
  SENSITIVE = []
  include Aws::Structure
end