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>)


2223
2224
2225
2226
2227
2228
2229
2230
2231
2232
2233
2234
2235
2236
# File 'gems/aws-sdk-inspector/lib/aws-sdk-inspector/types.rb', line 2223

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)


2223
2224
2225
2226
2227
2228
2229
2230
2231
2232
2233
2234
2235
2236
# File 'gems/aws-sdk-inspector/lib/aws-sdk-inspector/types.rb', line 2223

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)


2223
2224
2225
2226
2227
2228
2229
2230
2231
2232
2233
2234
2235
2236
# File 'gems/aws-sdk-inspector/lib/aws-sdk-inspector/types.rb', line 2223

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)


2223
2224
2225
2226
2227
2228
2229
2230
2231
2232
2233
2234
2235
2236
# File 'gems/aws-sdk-inspector/lib/aws-sdk-inspector/types.rb', line 2223

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:



2223
2224
2225
2226
2227
2228
2229
2230
2231
2232
2233
2234
2235
2236
# File 'gems/aws-sdk-inspector/lib/aws-sdk-inspector/types.rb', line 2223

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)


2223
2224
2225
2226
2227
2228
2229
2230
2231
2232
2233
2234
2235
2236
# File 'gems/aws-sdk-inspector/lib/aws-sdk-inspector/types.rb', line 2223

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)


2223
2224
2225
2226
2227
2228
2229
2230
2231
2232
2233
2234
2235
2236
# File 'gems/aws-sdk-inspector/lib/aws-sdk-inspector/types.rb', line 2223

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:



2223
2224
2225
2226
2227
2228
2229
2230
2231
2232
2233
2234
2235
2236
# File 'gems/aws-sdk-inspector/lib/aws-sdk-inspector/types.rb', line 2223

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)


2223
2224
2225
2226
2227
2228
2229
2230
2231
2232
2233
2234
2235
2236
# File 'gems/aws-sdk-inspector/lib/aws-sdk-inspector/types.rb', line 2223

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)


2223
2224
2225
2226
2227
2228
2229
2230
2231
2232
2233
2234
2235
2236
# File 'gems/aws-sdk-inspector/lib/aws-sdk-inspector/types.rb', line 2223

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