Class: Aws::EC2::Types::LaunchTemplateInstanceNetworkInterfaceSpecification

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

Overview

Describes a network interface.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#associate_carrier_ip_addressBoolean

Indicates whether to associate a Carrier IP address with eth0 for a new network interface.

Use this option when you launch an instance in a Wavelength Zone and want to associate a Carrier IP address with the network interface. For more information about Carrier IP addresses, see Carrier IP addresses in the Wavelength Developer Guide.

Returns:

  • (Boolean)


44315
44316
44317
44318
44319
44320
44321
44322
44323
44324
44325
44326
44327
44328
44329
44330
44331
44332
44333
44334
44335
44336
44337
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 44315

class LaunchTemplateInstanceNetworkInterfaceSpecification < Struct.new(
  :associate_carrier_ip_address,
  :associate_public_ip_address,
  :delete_on_termination,
  :description,
  :device_index,
  :groups,
  :interface_type,
  :ipv_6_address_count,
  :ipv_6_addresses,
  :network_interface_id,
  :private_ip_address,
  :private_ip_addresses,
  :secondary_private_ip_address_count,
  :subnet_id,
  :network_card_index,
  :ipv_4_prefixes,
  :ipv_4_prefix_count,
  :ipv_6_prefixes,
  :ipv_6_prefix_count)
  SENSITIVE = []
  include Aws::Structure
end

#associate_public_ip_addressBoolean

Indicates whether to associate a public IPv4 address with eth0 for a new network interface.

Returns:

  • (Boolean)


44315
44316
44317
44318
44319
44320
44321
44322
44323
44324
44325
44326
44327
44328
44329
44330
44331
44332
44333
44334
44335
44336
44337
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 44315

class LaunchTemplateInstanceNetworkInterfaceSpecification < Struct.new(
  :associate_carrier_ip_address,
  :associate_public_ip_address,
  :delete_on_termination,
  :description,
  :device_index,
  :groups,
  :interface_type,
  :ipv_6_address_count,
  :ipv_6_addresses,
  :network_interface_id,
  :private_ip_address,
  :private_ip_addresses,
  :secondary_private_ip_address_count,
  :subnet_id,
  :network_card_index,
  :ipv_4_prefixes,
  :ipv_4_prefix_count,
  :ipv_6_prefixes,
  :ipv_6_prefix_count)
  SENSITIVE = []
  include Aws::Structure
end

#delete_on_terminationBoolean

Indicates whether the network interface is deleted when the instance is terminated.

Returns:

  • (Boolean)


44315
44316
44317
44318
44319
44320
44321
44322
44323
44324
44325
44326
44327
44328
44329
44330
44331
44332
44333
44334
44335
44336
44337
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 44315

class LaunchTemplateInstanceNetworkInterfaceSpecification < Struct.new(
  :associate_carrier_ip_address,
  :associate_public_ip_address,
  :delete_on_termination,
  :description,
  :device_index,
  :groups,
  :interface_type,
  :ipv_6_address_count,
  :ipv_6_addresses,
  :network_interface_id,
  :private_ip_address,
  :private_ip_addresses,
  :secondary_private_ip_address_count,
  :subnet_id,
  :network_card_index,
  :ipv_4_prefixes,
  :ipv_4_prefix_count,
  :ipv_6_prefixes,
  :ipv_6_prefix_count)
  SENSITIVE = []
  include Aws::Structure
end

#descriptionString

A description for the network interface.

Returns:

  • (String)


44315
44316
44317
44318
44319
44320
44321
44322
44323
44324
44325
44326
44327
44328
44329
44330
44331
44332
44333
44334
44335
44336
44337
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 44315

class LaunchTemplateInstanceNetworkInterfaceSpecification < Struct.new(
  :associate_carrier_ip_address,
  :associate_public_ip_address,
  :delete_on_termination,
  :description,
  :device_index,
  :groups,
  :interface_type,
  :ipv_6_address_count,
  :ipv_6_addresses,
  :network_interface_id,
  :private_ip_address,
  :private_ip_addresses,
  :secondary_private_ip_address_count,
  :subnet_id,
  :network_card_index,
  :ipv_4_prefixes,
  :ipv_4_prefix_count,
  :ipv_6_prefixes,
  :ipv_6_prefix_count)
  SENSITIVE = []
  include Aws::Structure
end

#device_indexInteger

The device index for the network interface attachment.

Returns:

  • (Integer)


44315
44316
44317
44318
44319
44320
44321
44322
44323
44324
44325
44326
44327
44328
44329
44330
44331
44332
44333
44334
44335
44336
44337
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 44315

class LaunchTemplateInstanceNetworkInterfaceSpecification < Struct.new(
  :associate_carrier_ip_address,
  :associate_public_ip_address,
  :delete_on_termination,
  :description,
  :device_index,
  :groups,
  :interface_type,
  :ipv_6_address_count,
  :ipv_6_addresses,
  :network_interface_id,
  :private_ip_address,
  :private_ip_addresses,
  :secondary_private_ip_address_count,
  :subnet_id,
  :network_card_index,
  :ipv_4_prefixes,
  :ipv_4_prefix_count,
  :ipv_6_prefixes,
  :ipv_6_prefix_count)
  SENSITIVE = []
  include Aws::Structure
end

#groupsArray<String>

The IDs of one or more security groups.

Returns:

  • (Array<String>)


44315
44316
44317
44318
44319
44320
44321
44322
44323
44324
44325
44326
44327
44328
44329
44330
44331
44332
44333
44334
44335
44336
44337
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 44315

class LaunchTemplateInstanceNetworkInterfaceSpecification < Struct.new(
  :associate_carrier_ip_address,
  :associate_public_ip_address,
  :delete_on_termination,
  :description,
  :device_index,
  :groups,
  :interface_type,
  :ipv_6_address_count,
  :ipv_6_addresses,
  :network_interface_id,
  :private_ip_address,
  :private_ip_addresses,
  :secondary_private_ip_address_count,
  :subnet_id,
  :network_card_index,
  :ipv_4_prefixes,
  :ipv_4_prefix_count,
  :ipv_6_prefixes,
  :ipv_6_prefix_count)
  SENSITIVE = []
  include Aws::Structure
end

#interface_typeString

The type of network interface.

Returns:

  • (String)


44315
44316
44317
44318
44319
44320
44321
44322
44323
44324
44325
44326
44327
44328
44329
44330
44331
44332
44333
44334
44335
44336
44337
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 44315

class LaunchTemplateInstanceNetworkInterfaceSpecification < Struct.new(
  :associate_carrier_ip_address,
  :associate_public_ip_address,
  :delete_on_termination,
  :description,
  :device_index,
  :groups,
  :interface_type,
  :ipv_6_address_count,
  :ipv_6_addresses,
  :network_interface_id,
  :private_ip_address,
  :private_ip_addresses,
  :secondary_private_ip_address_count,
  :subnet_id,
  :network_card_index,
  :ipv_4_prefixes,
  :ipv_4_prefix_count,
  :ipv_6_prefixes,
  :ipv_6_prefix_count)
  SENSITIVE = []
  include Aws::Structure
end

#ipv_4_prefix_countInteger

The number of IPv4 prefixes that Amazon Web Services automatically assigned to the network interface.

Returns:

  • (Integer)


44315
44316
44317
44318
44319
44320
44321
44322
44323
44324
44325
44326
44327
44328
44329
44330
44331
44332
44333
44334
44335
44336
44337
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 44315

class LaunchTemplateInstanceNetworkInterfaceSpecification < Struct.new(
  :associate_carrier_ip_address,
  :associate_public_ip_address,
  :delete_on_termination,
  :description,
  :device_index,
  :groups,
  :interface_type,
  :ipv_6_address_count,
  :ipv_6_addresses,
  :network_interface_id,
  :private_ip_address,
  :private_ip_addresses,
  :secondary_private_ip_address_count,
  :subnet_id,
  :network_card_index,
  :ipv_4_prefixes,
  :ipv_4_prefix_count,
  :ipv_6_prefixes,
  :ipv_6_prefix_count)
  SENSITIVE = []
  include Aws::Structure
end

#ipv_4_prefixesArray<Types::Ipv4PrefixSpecificationResponse>

One or more IPv4 prefixes assigned to the network interface.



44315
44316
44317
44318
44319
44320
44321
44322
44323
44324
44325
44326
44327
44328
44329
44330
44331
44332
44333
44334
44335
44336
44337
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 44315

class LaunchTemplateInstanceNetworkInterfaceSpecification < Struct.new(
  :associate_carrier_ip_address,
  :associate_public_ip_address,
  :delete_on_termination,
  :description,
  :device_index,
  :groups,
  :interface_type,
  :ipv_6_address_count,
  :ipv_6_addresses,
  :network_interface_id,
  :private_ip_address,
  :private_ip_addresses,
  :secondary_private_ip_address_count,
  :subnet_id,
  :network_card_index,
  :ipv_4_prefixes,
  :ipv_4_prefix_count,
  :ipv_6_prefixes,
  :ipv_6_prefix_count)
  SENSITIVE = []
  include Aws::Structure
end

#ipv_6_address_countInteger

The number of IPv6 addresses for the network interface.

Returns:

  • (Integer)


44315
44316
44317
44318
44319
44320
44321
44322
44323
44324
44325
44326
44327
44328
44329
44330
44331
44332
44333
44334
44335
44336
44337
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 44315

class LaunchTemplateInstanceNetworkInterfaceSpecification < Struct.new(
  :associate_carrier_ip_address,
  :associate_public_ip_address,
  :delete_on_termination,
  :description,
  :device_index,
  :groups,
  :interface_type,
  :ipv_6_address_count,
  :ipv_6_addresses,
  :network_interface_id,
  :private_ip_address,
  :private_ip_addresses,
  :secondary_private_ip_address_count,
  :subnet_id,
  :network_card_index,
  :ipv_4_prefixes,
  :ipv_4_prefix_count,
  :ipv_6_prefixes,
  :ipv_6_prefix_count)
  SENSITIVE = []
  include Aws::Structure
end

#ipv_6_addressesArray<Types::InstanceIpv6Address>

The IPv6 addresses for the network interface.

Returns:



44315
44316
44317
44318
44319
44320
44321
44322
44323
44324
44325
44326
44327
44328
44329
44330
44331
44332
44333
44334
44335
44336
44337
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 44315

class LaunchTemplateInstanceNetworkInterfaceSpecification < Struct.new(
  :associate_carrier_ip_address,
  :associate_public_ip_address,
  :delete_on_termination,
  :description,
  :device_index,
  :groups,
  :interface_type,
  :ipv_6_address_count,
  :ipv_6_addresses,
  :network_interface_id,
  :private_ip_address,
  :private_ip_addresses,
  :secondary_private_ip_address_count,
  :subnet_id,
  :network_card_index,
  :ipv_4_prefixes,
  :ipv_4_prefix_count,
  :ipv_6_prefixes,
  :ipv_6_prefix_count)
  SENSITIVE = []
  include Aws::Structure
end

#ipv_6_prefix_countInteger

The number of IPv6 prefixes that Amazon Web Services automatically assigned to the network interface.

Returns:

  • (Integer)


44315
44316
44317
44318
44319
44320
44321
44322
44323
44324
44325
44326
44327
44328
44329
44330
44331
44332
44333
44334
44335
44336
44337
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 44315

class LaunchTemplateInstanceNetworkInterfaceSpecification < Struct.new(
  :associate_carrier_ip_address,
  :associate_public_ip_address,
  :delete_on_termination,
  :description,
  :device_index,
  :groups,
  :interface_type,
  :ipv_6_address_count,
  :ipv_6_addresses,
  :network_interface_id,
  :private_ip_address,
  :private_ip_addresses,
  :secondary_private_ip_address_count,
  :subnet_id,
  :network_card_index,
  :ipv_4_prefixes,
  :ipv_4_prefix_count,
  :ipv_6_prefixes,
  :ipv_6_prefix_count)
  SENSITIVE = []
  include Aws::Structure
end

#ipv_6_prefixesArray<Types::Ipv6PrefixSpecificationResponse>

One or more IPv6 prefixes assigned to the network interface.



44315
44316
44317
44318
44319
44320
44321
44322
44323
44324
44325
44326
44327
44328
44329
44330
44331
44332
44333
44334
44335
44336
44337
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 44315

class LaunchTemplateInstanceNetworkInterfaceSpecification < Struct.new(
  :associate_carrier_ip_address,
  :associate_public_ip_address,
  :delete_on_termination,
  :description,
  :device_index,
  :groups,
  :interface_type,
  :ipv_6_address_count,
  :ipv_6_addresses,
  :network_interface_id,
  :private_ip_address,
  :private_ip_addresses,
  :secondary_private_ip_address_count,
  :subnet_id,
  :network_card_index,
  :ipv_4_prefixes,
  :ipv_4_prefix_count,
  :ipv_6_prefixes,
  :ipv_6_prefix_count)
  SENSITIVE = []
  include Aws::Structure
end

#network_card_indexInteger

The index of the network card.

Returns:

  • (Integer)


44315
44316
44317
44318
44319
44320
44321
44322
44323
44324
44325
44326
44327
44328
44329
44330
44331
44332
44333
44334
44335
44336
44337
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 44315

class LaunchTemplateInstanceNetworkInterfaceSpecification < Struct.new(
  :associate_carrier_ip_address,
  :associate_public_ip_address,
  :delete_on_termination,
  :description,
  :device_index,
  :groups,
  :interface_type,
  :ipv_6_address_count,
  :ipv_6_addresses,
  :network_interface_id,
  :private_ip_address,
  :private_ip_addresses,
  :secondary_private_ip_address_count,
  :subnet_id,
  :network_card_index,
  :ipv_4_prefixes,
  :ipv_4_prefix_count,
  :ipv_6_prefixes,
  :ipv_6_prefix_count)
  SENSITIVE = []
  include Aws::Structure
end

#network_interface_idString

The ID of the network interface.

Returns:

  • (String)


44315
44316
44317
44318
44319
44320
44321
44322
44323
44324
44325
44326
44327
44328
44329
44330
44331
44332
44333
44334
44335
44336
44337
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 44315

class LaunchTemplateInstanceNetworkInterfaceSpecification < Struct.new(
  :associate_carrier_ip_address,
  :associate_public_ip_address,
  :delete_on_termination,
  :description,
  :device_index,
  :groups,
  :interface_type,
  :ipv_6_address_count,
  :ipv_6_addresses,
  :network_interface_id,
  :private_ip_address,
  :private_ip_addresses,
  :secondary_private_ip_address_count,
  :subnet_id,
  :network_card_index,
  :ipv_4_prefixes,
  :ipv_4_prefix_count,
  :ipv_6_prefixes,
  :ipv_6_prefix_count)
  SENSITIVE = []
  include Aws::Structure
end

#private_ip_addressString

The primary private IPv4 address of the network interface.

Returns:

  • (String)


44315
44316
44317
44318
44319
44320
44321
44322
44323
44324
44325
44326
44327
44328
44329
44330
44331
44332
44333
44334
44335
44336
44337
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 44315

class LaunchTemplateInstanceNetworkInterfaceSpecification < Struct.new(
  :associate_carrier_ip_address,
  :associate_public_ip_address,
  :delete_on_termination,
  :description,
  :device_index,
  :groups,
  :interface_type,
  :ipv_6_address_count,
  :ipv_6_addresses,
  :network_interface_id,
  :private_ip_address,
  :private_ip_addresses,
  :secondary_private_ip_address_count,
  :subnet_id,
  :network_card_index,
  :ipv_4_prefixes,
  :ipv_4_prefix_count,
  :ipv_6_prefixes,
  :ipv_6_prefix_count)
  SENSITIVE = []
  include Aws::Structure
end

#private_ip_addressesArray<Types::PrivateIpAddressSpecification>

One or more private IPv4 addresses.



44315
44316
44317
44318
44319
44320
44321
44322
44323
44324
44325
44326
44327
44328
44329
44330
44331
44332
44333
44334
44335
44336
44337
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 44315

class LaunchTemplateInstanceNetworkInterfaceSpecification < Struct.new(
  :associate_carrier_ip_address,
  :associate_public_ip_address,
  :delete_on_termination,
  :description,
  :device_index,
  :groups,
  :interface_type,
  :ipv_6_address_count,
  :ipv_6_addresses,
  :network_interface_id,
  :private_ip_address,
  :private_ip_addresses,
  :secondary_private_ip_address_count,
  :subnet_id,
  :network_card_index,
  :ipv_4_prefixes,
  :ipv_4_prefix_count,
  :ipv_6_prefixes,
  :ipv_6_prefix_count)
  SENSITIVE = []
  include Aws::Structure
end

#secondary_private_ip_address_countInteger

The number of secondary private IPv4 addresses for the network interface.

Returns:

  • (Integer)


44315
44316
44317
44318
44319
44320
44321
44322
44323
44324
44325
44326
44327
44328
44329
44330
44331
44332
44333
44334
44335
44336
44337
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 44315

class LaunchTemplateInstanceNetworkInterfaceSpecification < Struct.new(
  :associate_carrier_ip_address,
  :associate_public_ip_address,
  :delete_on_termination,
  :description,
  :device_index,
  :groups,
  :interface_type,
  :ipv_6_address_count,
  :ipv_6_addresses,
  :network_interface_id,
  :private_ip_address,
  :private_ip_addresses,
  :secondary_private_ip_address_count,
  :subnet_id,
  :network_card_index,
  :ipv_4_prefixes,
  :ipv_4_prefix_count,
  :ipv_6_prefixes,
  :ipv_6_prefix_count)
  SENSITIVE = []
  include Aws::Structure
end

#subnet_idString

The ID of the subnet for the network interface.

Returns:

  • (String)


44315
44316
44317
44318
44319
44320
44321
44322
44323
44324
44325
44326
44327
44328
44329
44330
44331
44332
44333
44334
44335
44336
44337
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 44315

class LaunchTemplateInstanceNetworkInterfaceSpecification < Struct.new(
  :associate_carrier_ip_address,
  :associate_public_ip_address,
  :delete_on_termination,
  :description,
  :device_index,
  :groups,
  :interface_type,
  :ipv_6_address_count,
  :ipv_6_addresses,
  :network_interface_id,
  :private_ip_address,
  :private_ip_addresses,
  :secondary_private_ip_address_count,
  :subnet_id,
  :network_card_index,
  :ipv_4_prefixes,
  :ipv_4_prefix_count,
  :ipv_6_prefixes,
  :ipv_6_prefix_count)
  SENSITIVE = []
  include Aws::Structure
end