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.



28060
28061
28062
28063
28064
28065
28066
28067
28068
28069
28070
28071
28072
28073
28074
28075
28076
28077
28078
28079
28080
28081
28082
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 28060

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.



28060
28061
28062
28063
28064
28065
28066
28067
28068
28069
28070
28071
28072
28073
28074
28075
28076
28077
28078
28079
28080
28081
28082
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 28060

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)


28060
28061
28062
28063
28064
28065
28066
28067
28068
28069
28070
28071
28072
28073
28074
28075
28076
28077
28078
28079
28080
28081
28082
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 28060

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)


28060
28061
28062
28063
28064
28065
28066
28067
28068
28069
28070
28071
28072
28073
28074
28075
28076
28077
28078
28079
28080
28081
28082
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 28060

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:



28060
28061
28062
28063
28064
28065
28066
28067
28068
28069
28070
28071
28072
28073
28074
28075
28076
28077
28078
28079
28080
28081
28082
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 28060

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 network interface.

Returns:

  • (String)


28060
28061
28062
28063
28064
28065
28066
28067
28068
28069
28070
28071
28072
28073
28074
28075
28076
28077
28078
28079
28080
28081
28082
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 28060

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.



28060
28061
28062
28063
28064
28065
28066
28067
28068
28069
28070
28071
28072
28073
28074
28075
28076
28077
28078
28079
28080
28081
28082
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 28060

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)


28060
28061
28062
28063
28064
28065
28066
28067
28068
28069
28070
28071
28072
28073
28074
28075
28076
28077
28078
28079
28080
28081
28082
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 28060

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)


28060
28061
28062
28063
28064
28065
28066
28067
28068
28069
28070
28071
28072
28073
28074
28075
28076
28077
28078
28079
28080
28081
28082
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 28060

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)


28060
28061
28062
28063
28064
28065
28066
28067
28068
28069
28070
28071
28072
28073
28074
28075
28076
28077
28078
28079
28080
28081
28082
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 28060

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)


28060
28061
28062
28063
28064
28065
28066
28067
28068
28069
28070
28071
28072
28073
28074
28075
28076
28077
28078
28079
28080
28081
28082
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 28060

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)


28060
28061
28062
28063
28064
28065
28066
28067
28068
28069
28070
28071
28072
28073
28074
28075
28076
28077
28078
28079
28080
28081
28082
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 28060

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.



28060
28061
28062
28063
28064
28065
28066
28067
28068
28069
28070
28071
28072
28073
28074
28075
28076
28077
28078
28079
28080
28081
28082
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 28060

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)


28060
28061
28062
28063
28064
28065
28066
28067
28068
28069
28070
28071
28072
28073
28074
28075
28076
28077
28078
28079
28080
28081
28082
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 28060

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)


28060
28061
28062
28063
28064
28065
28066
28067
28068
28069
28070
28071
28072
28073
28074
28075
28076
28077
28078
28079
28080
28081
28082
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 28060

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)


28060
28061
28062
28063
28064
28065
28066
28067
28068
28069
28070
28071
28072
28073
28074
28075
28076
28077
28078
28079
28080
28081
28082
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 28060

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)


28060
28061
28062
28063
28064
28065
28066
28067
28068
28069
28070
28071
28072
28073
28074
28075
28076
28077
28078
28079
28080
28081
28082
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 28060

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)


28060
28061
28062
28063
28064
28065
28066
28067
28068
28069
28070
28071
28072
28073
28074
28075
28076
28077
28078
28079
28080
28081
28082
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 28060

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:



28060
28061
28062
28063
28064
28065
28066
28067
28068
28069
28070
28071
28072
28073
28074
28075
28076
28077
28078
28079
28080
28081
28082
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 28060

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)


28060
28061
28062
28063
28064
28065
28066
28067
28068
28069
28070
28071
28072
28073
28074
28075
28076
28077
28078
28079
28080
28081
28082
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 28060

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