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.



18046
18047
18048
18049
18050
18051
18052
18053
18054
18055
18056
18057
18058
18059
18060
18061
18062
18063
18064
18065
18066
18067
18068
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 18046

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.



18046
18047
18048
18049
18050
18051
18052
18053
18054
18055
18056
18057
18058
18059
18060
18061
18062
18063
18064
18065
18066
18067
18068
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 18046

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)


18046
18047
18048
18049
18050
18051
18052
18053
18054
18055
18056
18057
18058
18059
18060
18061
18062
18063
18064
18065
18066
18067
18068
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 18046

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)


18046
18047
18048
18049
18050
18051
18052
18053
18054
18055
18056
18057
18058
18059
18060
18061
18062
18063
18064
18065
18066
18067
18068
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 18046

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:



18046
18047
18048
18049
18050
18051
18052
18053
18054
18055
18056
18057
18058
18059
18060
18061
18062
18063
18064
18065
18066
18067
18068
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 18046

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)


18046
18047
18048
18049
18050
18051
18052
18053
18054
18055
18056
18057
18058
18059
18060
18061
18062
18063
18064
18065
18066
18067
18068
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 18046

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.



18046
18047
18048
18049
18050
18051
18052
18053
18054
18055
18056
18057
18058
18059
18060
18061
18062
18063
18064
18065
18066
18067
18068
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 18046

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)


18046
18047
18048
18049
18050
18051
18052
18053
18054
18055
18056
18057
18058
18059
18060
18061
18062
18063
18064
18065
18066
18067
18068
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 18046

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)


18046
18047
18048
18049
18050
18051
18052
18053
18054
18055
18056
18057
18058
18059
18060
18061
18062
18063
18064
18065
18066
18067
18068
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 18046

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)


18046
18047
18048
18049
18050
18051
18052
18053
18054
18055
18056
18057
18058
18059
18060
18061
18062
18063
18064
18065
18066
18067
18068
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 18046

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)


18046
18047
18048
18049
18050
18051
18052
18053
18054
18055
18056
18057
18058
18059
18060
18061
18062
18063
18064
18065
18066
18067
18068
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 18046

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)


18046
18047
18048
18049
18050
18051
18052
18053
18054
18055
18056
18057
18058
18059
18060
18061
18062
18063
18064
18065
18066
18067
18068
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 18046

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.



18046
18047
18048
18049
18050
18051
18052
18053
18054
18055
18056
18057
18058
18059
18060
18061
18062
18063
18064
18065
18066
18067
18068
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 18046

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)


18046
18047
18048
18049
18050
18051
18052
18053
18054
18055
18056
18057
18058
18059
18060
18061
18062
18063
18064
18065
18066
18067
18068
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 18046

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)


18046
18047
18048
18049
18050
18051
18052
18053
18054
18055
18056
18057
18058
18059
18060
18061
18062
18063
18064
18065
18066
18067
18068
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 18046

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)


18046
18047
18048
18049
18050
18051
18052
18053
18054
18055
18056
18057
18058
18059
18060
18061
18062
18063
18064
18065
18066
18067
18068
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 18046

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)


18046
18047
18048
18049
18050
18051
18052
18053
18054
18055
18056
18057
18058
18059
18060
18061
18062
18063
18064
18065
18066
18067
18068
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 18046

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)


18046
18047
18048
18049
18050
18051
18052
18053
18054
18055
18056
18057
18058
18059
18060
18061
18062
18063
18064
18065
18066
18067
18068
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 18046

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:



18046
18047
18048
18049
18050
18051
18052
18053
18054
18055
18056
18057
18058
18059
18060
18061
18062
18063
18064
18065
18066
18067
18068
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 18046

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)


18046
18047
18048
18049
18050
18051
18052
18053
18054
18055
18056
18057
18058
18059
18060
18061
18062
18063
18064
18065
18066
18067
18068
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 18046

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