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.



17516
17517
17518
17519
17520
17521
17522
17523
17524
17525
17526
17527
17528
17529
17530
17531
17532
17533
17534
17535
17536
17537
17538
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 17516

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.



17516
17517
17518
17519
17520
17521
17522
17523
17524
17525
17526
17527
17528
17529
17530
17531
17532
17533
17534
17535
17536
17537
17538
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 17516

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)


17516
17517
17518
17519
17520
17521
17522
17523
17524
17525
17526
17527
17528
17529
17530
17531
17532
17533
17534
17535
17536
17537
17538
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 17516

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)


17516
17517
17518
17519
17520
17521
17522
17523
17524
17525
17526
17527
17528
17529
17530
17531
17532
17533
17534
17535
17536
17537
17538
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 17516

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:



17516
17517
17518
17519
17520
17521
17522
17523
17524
17525
17526
17527
17528
17529
17530
17531
17532
17533
17534
17535
17536
17537
17538
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 17516

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)


17516
17517
17518
17519
17520
17521
17522
17523
17524
17525
17526
17527
17528
17529
17530
17531
17532
17533
17534
17535
17536
17537
17538
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 17516

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.



17516
17517
17518
17519
17520
17521
17522
17523
17524
17525
17526
17527
17528
17529
17530
17531
17532
17533
17534
17535
17536
17537
17538
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 17516

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)


17516
17517
17518
17519
17520
17521
17522
17523
17524
17525
17526
17527
17528
17529
17530
17531
17532
17533
17534
17535
17536
17537
17538
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 17516

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)


17516
17517
17518
17519
17520
17521
17522
17523
17524
17525
17526
17527
17528
17529
17530
17531
17532
17533
17534
17535
17536
17537
17538
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 17516

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)


17516
17517
17518
17519
17520
17521
17522
17523
17524
17525
17526
17527
17528
17529
17530
17531
17532
17533
17534
17535
17536
17537
17538
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 17516

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)


17516
17517
17518
17519
17520
17521
17522
17523
17524
17525
17526
17527
17528
17529
17530
17531
17532
17533
17534
17535
17536
17537
17538
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 17516

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)


17516
17517
17518
17519
17520
17521
17522
17523
17524
17525
17526
17527
17528
17529
17530
17531
17532
17533
17534
17535
17536
17537
17538
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 17516

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.



17516
17517
17518
17519
17520
17521
17522
17523
17524
17525
17526
17527
17528
17529
17530
17531
17532
17533
17534
17535
17536
17537
17538
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 17516

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)


17516
17517
17518
17519
17520
17521
17522
17523
17524
17525
17526
17527
17528
17529
17530
17531
17532
17533
17534
17535
17536
17537
17538
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 17516

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)


17516
17517
17518
17519
17520
17521
17522
17523
17524
17525
17526
17527
17528
17529
17530
17531
17532
17533
17534
17535
17536
17537
17538
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 17516

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)


17516
17517
17518
17519
17520
17521
17522
17523
17524
17525
17526
17527
17528
17529
17530
17531
17532
17533
17534
17535
17536
17537
17538
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 17516

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)


17516
17517
17518
17519
17520
17521
17522
17523
17524
17525
17526
17527
17528
17529
17530
17531
17532
17533
17534
17535
17536
17537
17538
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 17516

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)


17516
17517
17518
17519
17520
17521
17522
17523
17524
17525
17526
17527
17528
17529
17530
17531
17532
17533
17534
17535
17536
17537
17538
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 17516

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:



17516
17517
17518
17519
17520
17521
17522
17523
17524
17525
17526
17527
17528
17529
17530
17531
17532
17533
17534
17535
17536
17537
17538
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 17516

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)


17516
17517
17518
17519
17520
17521
17522
17523
17524
17525
17526
17527
17528
17529
17530
17531
17532
17533
17534
17535
17536
17537
17538
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 17516

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