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

Class: Aws::EC2::Types::NetworkInterface

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

Overview

Describes a network interface.

Instance Attribute Summary collapse

Instance Attribute Details

#associationTypes::NetworkInterfaceAssociation

The association information for an Elastic IP address (IPv4) associated with the network interface.



22550
22551
22552
22553
22554
22555
22556
22557
22558
22559
22560
22561
22562
22563
22564
22565
22566
22567
22568
22569
22570
22571
22572
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 22550

class NetworkInterface < Struct.new(
  :association,
  :attachment,
  :availability_zone,
  :description,
  :groups,
  :interface_type,
  :ipv_6_addresses,
  :mac_address,
  :network_interface_id,
  :owner_id,
  :private_dns_name,
  :private_ip_address,
  :private_ip_addresses,
  :requester_id,
  :requester_managed,
  :source_dest_check,
  :status,
  :subnet_id,
  :tag_set,
  :vpc_id)
  include Aws::Structure
end

#attachmentTypes::NetworkInterfaceAttachment

The network interface attachment.



22550
22551
22552
22553
22554
22555
22556
22557
22558
22559
22560
22561
22562
22563
22564
22565
22566
22567
22568
22569
22570
22571
22572
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 22550

class NetworkInterface < Struct.new(
  :association,
  :attachment,
  :availability_zone,
  :description,
  :groups,
  :interface_type,
  :ipv_6_addresses,
  :mac_address,
  :network_interface_id,
  :owner_id,
  :private_dns_name,
  :private_ip_address,
  :private_ip_addresses,
  :requester_id,
  :requester_managed,
  :source_dest_check,
  :status,
  :subnet_id,
  :tag_set,
  :vpc_id)
  include Aws::Structure
end

#availability_zoneString

The Availability Zone.

Returns:

  • (String)


22550
22551
22552
22553
22554
22555
22556
22557
22558
22559
22560
22561
22562
22563
22564
22565
22566
22567
22568
22569
22570
22571
22572
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 22550

class NetworkInterface < Struct.new(
  :association,
  :attachment,
  :availability_zone,
  :description,
  :groups,
  :interface_type,
  :ipv_6_addresses,
  :mac_address,
  :network_interface_id,
  :owner_id,
  :private_dns_name,
  :private_ip_address,
  :private_ip_addresses,
  :requester_id,
  :requester_managed,
  :source_dest_check,
  :status,
  :subnet_id,
  :tag_set,
  :vpc_id)
  include Aws::Structure
end

#descriptionString

A description.

Returns:

  • (String)


22550
22551
22552
22553
22554
22555
22556
22557
22558
22559
22560
22561
22562
22563
22564
22565
22566
22567
22568
22569
22570
22571
22572
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 22550

class NetworkInterface < Struct.new(
  :association,
  :attachment,
  :availability_zone,
  :description,
  :groups,
  :interface_type,
  :ipv_6_addresses,
  :mac_address,
  :network_interface_id,
  :owner_id,
  :private_dns_name,
  :private_ip_address,
  :private_ip_addresses,
  :requester_id,
  :requester_managed,
  :source_dest_check,
  :status,
  :subnet_id,
  :tag_set,
  :vpc_id)
  include Aws::Structure
end

#groupsArray<Types::GroupIdentifier>

Any security groups for the network interface.

Returns:



22550
22551
22552
22553
22554
22555
22556
22557
22558
22559
22560
22561
22562
22563
22564
22565
22566
22567
22568
22569
22570
22571
22572
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 22550

class NetworkInterface < Struct.new(
  :association,
  :attachment,
  :availability_zone,
  :description,
  :groups,
  :interface_type,
  :ipv_6_addresses,
  :mac_address,
  :network_interface_id,
  :owner_id,
  :private_dns_name,
  :private_ip_address,
  :private_ip_addresses,
  :requester_id,
  :requester_managed,
  :source_dest_check,
  :status,
  :subnet_id,
  :tag_set,
  :vpc_id)
  include Aws::Structure
end

#interface_typeString

The type of interface.

Returns:

  • (String)


22550
22551
22552
22553
22554
22555
22556
22557
22558
22559
22560
22561
22562
22563
22564
22565
22566
22567
22568
22569
22570
22571
22572
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 22550

class NetworkInterface < Struct.new(
  :association,
  :attachment,
  :availability_zone,
  :description,
  :groups,
  :interface_type,
  :ipv_6_addresses,
  :mac_address,
  :network_interface_id,
  :owner_id,
  :private_dns_name,
  :private_ip_address,
  :private_ip_addresses,
  :requester_id,
  :requester_managed,
  :source_dest_check,
  :status,
  :subnet_id,
  :tag_set,
  :vpc_id)
  include Aws::Structure
end

#ipv_6_addressesArray<Types::NetworkInterfaceIpv6Address>

The IPv6 addresses associated with the network interface.



22550
22551
22552
22553
22554
22555
22556
22557
22558
22559
22560
22561
22562
22563
22564
22565
22566
22567
22568
22569
22570
22571
22572
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 22550

class NetworkInterface < Struct.new(
  :association,
  :attachment,
  :availability_zone,
  :description,
  :groups,
  :interface_type,
  :ipv_6_addresses,
  :mac_address,
  :network_interface_id,
  :owner_id,
  :private_dns_name,
  :private_ip_address,
  :private_ip_addresses,
  :requester_id,
  :requester_managed,
  :source_dest_check,
  :status,
  :subnet_id,
  :tag_set,
  :vpc_id)
  include Aws::Structure
end

#mac_addressString

The MAC address.

Returns:

  • (String)


22550
22551
22552
22553
22554
22555
22556
22557
22558
22559
22560
22561
22562
22563
22564
22565
22566
22567
22568
22569
22570
22571
22572
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 22550

class NetworkInterface < Struct.new(
  :association,
  :attachment,
  :availability_zone,
  :description,
  :groups,
  :interface_type,
  :ipv_6_addresses,
  :mac_address,
  :network_interface_id,
  :owner_id,
  :private_dns_name,
  :private_ip_address,
  :private_ip_addresses,
  :requester_id,
  :requester_managed,
  :source_dest_check,
  :status,
  :subnet_id,
  :tag_set,
  :vpc_id)
  include Aws::Structure
end

#network_interface_idString

The ID of the network interface.

Returns:

  • (String)


22550
22551
22552
22553
22554
22555
22556
22557
22558
22559
22560
22561
22562
22563
22564
22565
22566
22567
22568
22569
22570
22571
22572
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 22550

class NetworkInterface < Struct.new(
  :association,
  :attachment,
  :availability_zone,
  :description,
  :groups,
  :interface_type,
  :ipv_6_addresses,
  :mac_address,
  :network_interface_id,
  :owner_id,
  :private_dns_name,
  :private_ip_address,
  :private_ip_addresses,
  :requester_id,
  :requester_managed,
  :source_dest_check,
  :status,
  :subnet_id,
  :tag_set,
  :vpc_id)
  include Aws::Structure
end

#owner_idString

The AWS account ID of the owner of the network interface.

Returns:

  • (String)


22550
22551
22552
22553
22554
22555
22556
22557
22558
22559
22560
22561
22562
22563
22564
22565
22566
22567
22568
22569
22570
22571
22572
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 22550

class NetworkInterface < Struct.new(
  :association,
  :attachment,
  :availability_zone,
  :description,
  :groups,
  :interface_type,
  :ipv_6_addresses,
  :mac_address,
  :network_interface_id,
  :owner_id,
  :private_dns_name,
  :private_ip_address,
  :private_ip_addresses,
  :requester_id,
  :requester_managed,
  :source_dest_check,
  :status,
  :subnet_id,
  :tag_set,
  :vpc_id)
  include Aws::Structure
end

#private_dns_nameString

The private DNS name.

Returns:

  • (String)


22550
22551
22552
22553
22554
22555
22556
22557
22558
22559
22560
22561
22562
22563
22564
22565
22566
22567
22568
22569
22570
22571
22572
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 22550

class NetworkInterface < Struct.new(
  :association,
  :attachment,
  :availability_zone,
  :description,
  :groups,
  :interface_type,
  :ipv_6_addresses,
  :mac_address,
  :network_interface_id,
  :owner_id,
  :private_dns_name,
  :private_ip_address,
  :private_ip_addresses,
  :requester_id,
  :requester_managed,
  :source_dest_check,
  :status,
  :subnet_id,
  :tag_set,
  :vpc_id)
  include Aws::Structure
end

#private_ip_addressString

The IPv4 address of the network interface within the subnet.

Returns:

  • (String)


22550
22551
22552
22553
22554
22555
22556
22557
22558
22559
22560
22561
22562
22563
22564
22565
22566
22567
22568
22569
22570
22571
22572
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 22550

class NetworkInterface < Struct.new(
  :association,
  :attachment,
  :availability_zone,
  :description,
  :groups,
  :interface_type,
  :ipv_6_addresses,
  :mac_address,
  :network_interface_id,
  :owner_id,
  :private_dns_name,
  :private_ip_address,
  :private_ip_addresses,
  :requester_id,
  :requester_managed,
  :source_dest_check,
  :status,
  :subnet_id,
  :tag_set,
  :vpc_id)
  include Aws::Structure
end

#private_ip_addressesArray<Types::NetworkInterfacePrivateIpAddress>

The private IPv4 addresses associated with the network interface.



22550
22551
22552
22553
22554
22555
22556
22557
22558
22559
22560
22561
22562
22563
22564
22565
22566
22567
22568
22569
22570
22571
22572
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 22550

class NetworkInterface < Struct.new(
  :association,
  :attachment,
  :availability_zone,
  :description,
  :groups,
  :interface_type,
  :ipv_6_addresses,
  :mac_address,
  :network_interface_id,
  :owner_id,
  :private_dns_name,
  :private_ip_address,
  :private_ip_addresses,
  :requester_id,
  :requester_managed,
  :source_dest_check,
  :status,
  :subnet_id,
  :tag_set,
  :vpc_id)
  include Aws::Structure
end

#requester_idString

The ID of the entity that launched the instance on your behalf (for example, AWS Management Console or Auto Scaling).

Returns:

  • (String)


22550
22551
22552
22553
22554
22555
22556
22557
22558
22559
22560
22561
22562
22563
22564
22565
22566
22567
22568
22569
22570
22571
22572
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 22550

class NetworkInterface < Struct.new(
  :association,
  :attachment,
  :availability_zone,
  :description,
  :groups,
  :interface_type,
  :ipv_6_addresses,
  :mac_address,
  :network_interface_id,
  :owner_id,
  :private_dns_name,
  :private_ip_address,
  :private_ip_addresses,
  :requester_id,
  :requester_managed,
  :source_dest_check,
  :status,
  :subnet_id,
  :tag_set,
  :vpc_id)
  include Aws::Structure
end

#requester_managedBoolean

Indicates whether the network interface is being managed by AWS.

Returns:

  • (Boolean)


22550
22551
22552
22553
22554
22555
22556
22557
22558
22559
22560
22561
22562
22563
22564
22565
22566
22567
22568
22569
22570
22571
22572
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 22550

class NetworkInterface < Struct.new(
  :association,
  :attachment,
  :availability_zone,
  :description,
  :groups,
  :interface_type,
  :ipv_6_addresses,
  :mac_address,
  :network_interface_id,
  :owner_id,
  :private_dns_name,
  :private_ip_address,
  :private_ip_addresses,
  :requester_id,
  :requester_managed,
  :source_dest_check,
  :status,
  :subnet_id,
  :tag_set,
  :vpc_id)
  include Aws::Structure
end

#source_dest_checkBoolean

Indicates whether traffic to or from the instance is validated.

Returns:

  • (Boolean)


22550
22551
22552
22553
22554
22555
22556
22557
22558
22559
22560
22561
22562
22563
22564
22565
22566
22567
22568
22569
22570
22571
22572
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 22550

class NetworkInterface < Struct.new(
  :association,
  :attachment,
  :availability_zone,
  :description,
  :groups,
  :interface_type,
  :ipv_6_addresses,
  :mac_address,
  :network_interface_id,
  :owner_id,
  :private_dns_name,
  :private_ip_address,
  :private_ip_addresses,
  :requester_id,
  :requester_managed,
  :source_dest_check,
  :status,
  :subnet_id,
  :tag_set,
  :vpc_id)
  include Aws::Structure
end

#statusString

The status of the network interface.

Returns:

  • (String)


22550
22551
22552
22553
22554
22555
22556
22557
22558
22559
22560
22561
22562
22563
22564
22565
22566
22567
22568
22569
22570
22571
22572
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 22550

class NetworkInterface < Struct.new(
  :association,
  :attachment,
  :availability_zone,
  :description,
  :groups,
  :interface_type,
  :ipv_6_addresses,
  :mac_address,
  :network_interface_id,
  :owner_id,
  :private_dns_name,
  :private_ip_address,
  :private_ip_addresses,
  :requester_id,
  :requester_managed,
  :source_dest_check,
  :status,
  :subnet_id,
  :tag_set,
  :vpc_id)
  include Aws::Structure
end

#subnet_idString

The ID of the subnet.

Returns:

  • (String)


22550
22551
22552
22553
22554
22555
22556
22557
22558
22559
22560
22561
22562
22563
22564
22565
22566
22567
22568
22569
22570
22571
22572
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 22550

class NetworkInterface < Struct.new(
  :association,
  :attachment,
  :availability_zone,
  :description,
  :groups,
  :interface_type,
  :ipv_6_addresses,
  :mac_address,
  :network_interface_id,
  :owner_id,
  :private_dns_name,
  :private_ip_address,
  :private_ip_addresses,
  :requester_id,
  :requester_managed,
  :source_dest_check,
  :status,
  :subnet_id,
  :tag_set,
  :vpc_id)
  include Aws::Structure
end

#tag_setArray<Types::Tag>

Any tags assigned to the network interface.

Returns:



22550
22551
22552
22553
22554
22555
22556
22557
22558
22559
22560
22561
22562
22563
22564
22565
22566
22567
22568
22569
22570
22571
22572
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 22550

class NetworkInterface < Struct.new(
  :association,
  :attachment,
  :availability_zone,
  :description,
  :groups,
  :interface_type,
  :ipv_6_addresses,
  :mac_address,
  :network_interface_id,
  :owner_id,
  :private_dns_name,
  :private_ip_address,
  :private_ip_addresses,
  :requester_id,
  :requester_managed,
  :source_dest_check,
  :status,
  :subnet_id,
  :tag_set,
  :vpc_id)
  include Aws::Structure
end

#vpc_idString

The ID of the VPC.

Returns:

  • (String)


22550
22551
22552
22553
22554
22555
22556
22557
22558
22559
22560
22561
22562
22563
22564
22565
22566
22567
22568
22569
22570
22571
22572
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 22550

class NetworkInterface < Struct.new(
  :association,
  :attachment,
  :availability_zone,
  :description,
  :groups,
  :interface_type,
  :ipv_6_addresses,
  :mac_address,
  :network_interface_id,
  :owner_id,
  :private_dns_name,
  :private_ip_address,
  :private_ip_addresses,
  :requester_id,
  :requester_managed,
  :source_dest_check,
  :status,
  :subnet_id,
  :tag_set,
  :vpc_id)
  include Aws::Structure
end