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

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

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


3042
3043
3044
3045
3046
3047
3048
3049
3050
3051
3052
3053
3054
# File 'gems/aws-sdk-guardduty/lib/aws-sdk-guardduty/types.rb', line 3042

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)
  include Aws::Structure
end

#network_interface_idString

The ID of the network interface.

Returns:

  • (String)


3042
3043
3044
3045
3046
3047
3048
3049
3050
3051
3052
3053
3054
# File 'gems/aws-sdk-guardduty/lib/aws-sdk-guardduty/types.rb', line 3042

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)
  include Aws::Structure
end

#private_dns_nameString

The private DNS name of the EC2 instance.

Returns:

  • (String)


3042
3043
3044
3045
3046
3047
3048
3049
3050
3051
3052
3053
3054
# File 'gems/aws-sdk-guardduty/lib/aws-sdk-guardduty/types.rb', line 3042

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)
  include Aws::Structure
end

#private_ip_addressString

The private IP address of the EC2 instance.

Returns:

  • (String)


3042
3043
3044
3045
3046
3047
3048
3049
3050
3051
3052
3053
3054
# File 'gems/aws-sdk-guardduty/lib/aws-sdk-guardduty/types.rb', line 3042

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)
  include Aws::Structure
end

#private_ip_addressesArray<Types::PrivateIpAddressDetails>

Other private IP address information of the EC2 instance.

Returns:



3042
3043
3044
3045
3046
3047
3048
3049
3050
3051
3052
3053
3054
# File 'gems/aws-sdk-guardduty/lib/aws-sdk-guardduty/types.rb', line 3042

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)
  include Aws::Structure
end

#public_dns_nameString

The public DNS name of the EC2 instance.

Returns:

  • (String)


3042
3043
3044
3045
3046
3047
3048
3049
3050
3051
3052
3053
3054
# File 'gems/aws-sdk-guardduty/lib/aws-sdk-guardduty/types.rb', line 3042

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)
  include Aws::Structure
end

#public_ipString

The public IP address of the EC2 instance.

Returns:

  • (String)


3042
3043
3044
3045
3046
3047
3048
3049
3050
3051
3052
3053
3054
# File 'gems/aws-sdk-guardduty/lib/aws-sdk-guardduty/types.rb', line 3042

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)
  include Aws::Structure
end

#security_groupsArray<Types::SecurityGroup>

The security groups associated with the EC2 instance.

Returns:



3042
3043
3044
3045
3046
3047
3048
3049
3050
3051
3052
3053
3054
# File 'gems/aws-sdk-guardduty/lib/aws-sdk-guardduty/types.rb', line 3042

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)
  include Aws::Structure
end

#subnet_idString

The subnet ID of the EC2 instance.

Returns:

  • (String)


3042
3043
3044
3045
3046
3047
3048
3049
3050
3051
3052
3053
3054
# File 'gems/aws-sdk-guardduty/lib/aws-sdk-guardduty/types.rb', line 3042

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)
  include Aws::Structure
end

#vpc_idString

The VPC ID of the EC2 instance.

Returns:

  • (String)


3042
3043
3044
3045
3046
3047
3048
3049
3050
3051
3052
3053
3054
# File 'gems/aws-sdk-guardduty/lib/aws-sdk-guardduty/types.rb', line 3042

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)
  include Aws::Structure
end