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


5938
5939
5940
5941
5942
5943
5944
5945
5946
5947
5948
5949
5950
5951
# File 'lib/aws-sdk-guardduty/types.rb', line 5938

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)


5938
5939
5940
5941
5942
5943
5944
5945
5946
5947
5948
5949
5950
5951
# File 'lib/aws-sdk-guardduty/types.rb', line 5938

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)


5938
5939
5940
5941
5942
5943
5944
5945
5946
5947
5948
5949
5950
5951
# File 'lib/aws-sdk-guardduty/types.rb', line 5938

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)


5938
5939
5940
5941
5942
5943
5944
5945
5946
5947
5948
5949
5950
5951
# File 'lib/aws-sdk-guardduty/types.rb', line 5938

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:



5938
5939
5940
5941
5942
5943
5944
5945
5946
5947
5948
5949
5950
5951
# File 'lib/aws-sdk-guardduty/types.rb', line 5938

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)


5938
5939
5940
5941
5942
5943
5944
5945
5946
5947
5948
5949
5950
5951
# File 'lib/aws-sdk-guardduty/types.rb', line 5938

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)


5938
5939
5940
5941
5942
5943
5944
5945
5946
5947
5948
5949
5950
5951
# File 'lib/aws-sdk-guardduty/types.rb', line 5938

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:



5938
5939
5940
5941
5942
5943
5944
5945
5946
5947
5948
5949
5950
5951
# File 'lib/aws-sdk-guardduty/types.rb', line 5938

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)


5938
5939
5940
5941
5942
5943
5944
5945
5946
5947
5948
5949
5950
5951
# File 'lib/aws-sdk-guardduty/types.rb', line 5938

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)


5938
5939
5940
5941
5942
5943
5944
5945
5946
5947
5948
5949
5950
5951
# File 'lib/aws-sdk-guardduty/types.rb', line 5938

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