You are viewing documentation for version 3 of the AWS SDK for Ruby. Version 2 documentation can be found here.

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

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

Overview

The network interface information of the EC2 instance.

Instance Attribute Summary collapse

Instance Attribute Details

#ipv_6_addressesArray<String>

A list of EC2 instance IPv6 address information.

Returns:

  • (Array<String>)


1960
1961
1962
1963
1964
1965
1966
1967
1968
1969
1970
1971
# File 'gems/aws-sdk-guardduty/lib/aws-sdk-guardduty/types.rb', line 1960

class NetworkInterface < Struct.new(
  :ipv_6_addresses,
  :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

Private DNS name of the EC2 instance.

Returns:

  • (String)


1960
1961
1962
1963
1964
1965
1966
1967
1968
1969
1970
1971
# File 'gems/aws-sdk-guardduty/lib/aws-sdk-guardduty/types.rb', line 1960

class NetworkInterface < Struct.new(
  :ipv_6_addresses,
  :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

Private IP address of the EC2 instance.

Returns:

  • (String)


1960
1961
1962
1963
1964
1965
1966
1967
1968
1969
1970
1971
# File 'gems/aws-sdk-guardduty/lib/aws-sdk-guardduty/types.rb', line 1960

class NetworkInterface < Struct.new(
  :ipv_6_addresses,
  :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:



1960
1961
1962
1963
1964
1965
1966
1967
1968
1969
1970
1971
# File 'gems/aws-sdk-guardduty/lib/aws-sdk-guardduty/types.rb', line 1960

class NetworkInterface < Struct.new(
  :ipv_6_addresses,
  :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

Public DNS name of the EC2 instance.

Returns:

  • (String)


1960
1961
1962
1963
1964
1965
1966
1967
1968
1969
1970
1971
# File 'gems/aws-sdk-guardduty/lib/aws-sdk-guardduty/types.rb', line 1960

class NetworkInterface < Struct.new(
  :ipv_6_addresses,
  :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

Public IP address of the EC2 instance.

Returns:

  • (String)


1960
1961
1962
1963
1964
1965
1966
1967
1968
1969
1970
1971
# File 'gems/aws-sdk-guardduty/lib/aws-sdk-guardduty/types.rb', line 1960

class NetworkInterface < Struct.new(
  :ipv_6_addresses,
  :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>

Security groups associated with the EC2 instance.

Returns:



1960
1961
1962
1963
1964
1965
1966
1967
1968
1969
1970
1971
# File 'gems/aws-sdk-guardduty/lib/aws-sdk-guardduty/types.rb', line 1960

class NetworkInterface < Struct.new(
  :ipv_6_addresses,
  :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)


1960
1961
1962
1963
1964
1965
1966
1967
1968
1969
1970
1971
# File 'gems/aws-sdk-guardduty/lib/aws-sdk-guardduty/types.rb', line 1960

class NetworkInterface < Struct.new(
  :ipv_6_addresses,
  :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)


1960
1961
1962
1963
1964
1965
1966
1967
1968
1969
1970
1971
# File 'gems/aws-sdk-guardduty/lib/aws-sdk-guardduty/types.rb', line 1960

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