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.

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


5464
5465
5466
5467
5468
5469
5470
5471
5472
5473
5474
5475
5476
5477
# File 'gems/aws-sdk-guardduty/lib/aws-sdk-guardduty/types.rb', line 5464

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)


5464
5465
5466
5467
5468
5469
5470
5471
5472
5473
5474
5475
5476
5477
# File 'gems/aws-sdk-guardduty/lib/aws-sdk-guardduty/types.rb', line 5464

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)


5464
5465
5466
5467
5468
5469
5470
5471
5472
5473
5474
5475
5476
5477
# File 'gems/aws-sdk-guardduty/lib/aws-sdk-guardduty/types.rb', line 5464

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)


5464
5465
5466
5467
5468
5469
5470
5471
5472
5473
5474
5475
5476
5477
# File 'gems/aws-sdk-guardduty/lib/aws-sdk-guardduty/types.rb', line 5464

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:



5464
5465
5466
5467
5468
5469
5470
5471
5472
5473
5474
5475
5476
5477
# File 'gems/aws-sdk-guardduty/lib/aws-sdk-guardduty/types.rb', line 5464

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)


5464
5465
5466
5467
5468
5469
5470
5471
5472
5473
5474
5475
5476
5477
# File 'gems/aws-sdk-guardduty/lib/aws-sdk-guardduty/types.rb', line 5464

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)


5464
5465
5466
5467
5468
5469
5470
5471
5472
5473
5474
5475
5476
5477
# File 'gems/aws-sdk-guardduty/lib/aws-sdk-guardduty/types.rb', line 5464

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:



5464
5465
5466
5467
5468
5469
5470
5471
5472
5473
5474
5475
5476
5477
# File 'gems/aws-sdk-guardduty/lib/aws-sdk-guardduty/types.rb', line 5464

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)


5464
5465
5466
5467
5468
5469
5470
5471
5472
5473
5474
5475
5476
5477
# File 'gems/aws-sdk-guardduty/lib/aws-sdk-guardduty/types.rb', line 5464

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)


5464
5465
5466
5467
5468
5469
5470
5471
5472
5473
5474
5475
5476
5477
# File 'gems/aws-sdk-guardduty/lib/aws-sdk-guardduty/types.rb', line 5464

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