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

Inherits:
Struct
  • Object
show all
Includes:
Structure
Defined in:
lib/aws-sdk-guardduty/types.rb

Overview

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

Constant Summary collapse

SENSITIVE =
[:private_ip_address]

Instance Attribute Summary collapse

Instance Attribute Details

#ipv_6_addressesArray<String>

A list of IPv6 addresses for the EC2 instance.

Returns:

  • (Array<String>)


6209
6210
6211
6212
6213
6214
6215
6216
6217
6218
6219
6220
6221
6222
# File 'lib/aws-sdk-guardduty/types.rb', line 6209

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

#network_interface_idString

The ID of the network interface.

Returns:

  • (String)


6209
6210
6211
6212
6213
6214
6215
6216
6217
6218
6219
6220
6221
6222
# File 'lib/aws-sdk-guardduty/types.rb', line 6209

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

#private_dns_nameString

The private DNS name of the EC2 instance.

Returns:

  • (String)


6209
6210
6211
6212
6213
6214
6215
6216
6217
6218
6219
6220
6221
6222
# File 'lib/aws-sdk-guardduty/types.rb', line 6209

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

#private_ip_addressString

The private IP address of the EC2 instance.

Returns:

  • (String)


6209
6210
6211
6212
6213
6214
6215
6216
6217
6218
6219
6220
6221
6222
# File 'lib/aws-sdk-guardduty/types.rb', line 6209

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

#private_ip_addressesArray<Types::PrivateIpAddressDetails>

Other private IP address information of the EC2 instance.

Returns:



6209
6210
6211
6212
6213
6214
6215
6216
6217
6218
6219
6220
6221
6222
# File 'lib/aws-sdk-guardduty/types.rb', line 6209

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

#public_dns_nameString

The public DNS name of the EC2 instance.

Returns:

  • (String)


6209
6210
6211
6212
6213
6214
6215
6216
6217
6218
6219
6220
6221
6222
# File 'lib/aws-sdk-guardduty/types.rb', line 6209

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

#public_ipString

The public IP address of the EC2 instance.

Returns:

  • (String)


6209
6210
6211
6212
6213
6214
6215
6216
6217
6218
6219
6220
6221
6222
# File 'lib/aws-sdk-guardduty/types.rb', line 6209

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

#security_groupsArray<Types::SecurityGroup>

The security groups associated with the EC2 instance.

Returns:



6209
6210
6211
6212
6213
6214
6215
6216
6217
6218
6219
6220
6221
6222
# File 'lib/aws-sdk-guardduty/types.rb', line 6209

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

#subnet_idString

The subnet ID of the EC2 instance.

Returns:

  • (String)


6209
6210
6211
6212
6213
6214
6215
6216
6217
6218
6219
6220
6221
6222
# File 'lib/aws-sdk-guardduty/types.rb', line 6209

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

#vpc_idString

The VPC ID of the EC2 instance.

Returns:

  • (String)


6209
6210
6211
6212
6213
6214
6215
6216
6217
6218
6219
6220
6221
6222
# File 'lib/aws-sdk-guardduty/types.rb', line 6209

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