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.



21241
21242
21243
21244
21245
21246
21247
21248
21249
21250
21251
21252
21253
21254
21255
21256
21257
21258
21259
21260
21261
21262
21263
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 21241

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.



21241
21242
21243
21244
21245
21246
21247
21248
21249
21250
21251
21252
21253
21254
21255
21256
21257
21258
21259
21260
21261
21262
21263
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 21241

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)


21241
21242
21243
21244
21245
21246
21247
21248
21249
21250
21251
21252
21253
21254
21255
21256
21257
21258
21259
21260
21261
21262
21263
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 21241

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)


21241
21242
21243
21244
21245
21246
21247
21248
21249
21250
21251
21252
21253
21254
21255
21256
21257
21258
21259
21260
21261
21262
21263
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 21241

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:



21241
21242
21243
21244
21245
21246
21247
21248
21249
21250
21251
21252
21253
21254
21255
21256
21257
21258
21259
21260
21261
21262
21263
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 21241

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)


21241
21242
21243
21244
21245
21246
21247
21248
21249
21250
21251
21252
21253
21254
21255
21256
21257
21258
21259
21260
21261
21262
21263
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 21241

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.



21241
21242
21243
21244
21245
21246
21247
21248
21249
21250
21251
21252
21253
21254
21255
21256
21257
21258
21259
21260
21261
21262
21263
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 21241

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)


21241
21242
21243
21244
21245
21246
21247
21248
21249
21250
21251
21252
21253
21254
21255
21256
21257
21258
21259
21260
21261
21262
21263
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 21241

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)


21241
21242
21243
21244
21245
21246
21247
21248
21249
21250
21251
21252
21253
21254
21255
21256
21257
21258
21259
21260
21261
21262
21263
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 21241

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)


21241
21242
21243
21244
21245
21246
21247
21248
21249
21250
21251
21252
21253
21254
21255
21256
21257
21258
21259
21260
21261
21262
21263
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 21241

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)


21241
21242
21243
21244
21245
21246
21247
21248
21249
21250
21251
21252
21253
21254
21255
21256
21257
21258
21259
21260
21261
21262
21263
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 21241

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)


21241
21242
21243
21244
21245
21246
21247
21248
21249
21250
21251
21252
21253
21254
21255
21256
21257
21258
21259
21260
21261
21262
21263
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 21241

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.



21241
21242
21243
21244
21245
21246
21247
21248
21249
21250
21251
21252
21253
21254
21255
21256
21257
21258
21259
21260
21261
21262
21263
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 21241

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)


21241
21242
21243
21244
21245
21246
21247
21248
21249
21250
21251
21252
21253
21254
21255
21256
21257
21258
21259
21260
21261
21262
21263
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 21241

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)


21241
21242
21243
21244
21245
21246
21247
21248
21249
21250
21251
21252
21253
21254
21255
21256
21257
21258
21259
21260
21261
21262
21263
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 21241

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)


21241
21242
21243
21244
21245
21246
21247
21248
21249
21250
21251
21252
21253
21254
21255
21256
21257
21258
21259
21260
21261
21262
21263
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 21241

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)


21241
21242
21243
21244
21245
21246
21247
21248
21249
21250
21251
21252
21253
21254
21255
21256
21257
21258
21259
21260
21261
21262
21263
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 21241

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)


21241
21242
21243
21244
21245
21246
21247
21248
21249
21250
21251
21252
21253
21254
21255
21256
21257
21258
21259
21260
21261
21262
21263
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 21241

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:



21241
21242
21243
21244
21245
21246
21247
21248
21249
21250
21251
21252
21253
21254
21255
21256
21257
21258
21259
21260
21261
21262
21263
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 21241

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)


21241
21242
21243
21244
21245
21246
21247
21248
21249
21250
21251
21252
21253
21254
21255
21256
21257
21258
21259
21260
21261
21262
21263
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 21241

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