Class: Aws::EC2::Types::LaunchTemplateInstanceSecondaryInterfaceSpecificationRequest

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

Overview

Describes a secondary interface specification for a launch template request.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#delete_on_termination ⇒ Boolean

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

The only supported value for this field is true.

Returns:

  • (Boolean)


66892
66893
66894
66895
66896
66897
66898
66899
66900
66901
66902
66903
66904
66905
66906
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 66892

class LaunchTemplateInstanceSecondaryInterfaceSpecificationRequest < Struct.new(
  :delete_on_termination,
  :device_index,
  :private_ip_addresses,
  :private_ip_address_count,
  :secondary_subnet_id,
  :interface_type,
  :network_card_index,
  :ipv_6_addresses,
  :ipv_6_address_count,
  :ena_queue_count,
  :vlan_mode)
  SENSITIVE = []
  include Aws::Structure
end

#device_index ⇒ Integer

The device index for the secondary interface attachment.

Returns:

  • (Integer)


66892
66893
66894
66895
66896
66897
66898
66899
66900
66901
66902
66903
66904
66905
66906
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 66892

class LaunchTemplateInstanceSecondaryInterfaceSpecificationRequest < Struct.new(
  :delete_on_termination,
  :device_index,
  :private_ip_addresses,
  :private_ip_address_count,
  :secondary_subnet_id,
  :interface_type,
  :network_card_index,
  :ipv_6_addresses,
  :ipv_6_address_count,
  :ena_queue_count,
  :vlan_mode)
  SENSITIVE = []
  include Aws::Structure
end

#ena_queue_count ⇒ Integer

The number of ENA queues to create for the secondary interface. When you launch an instance from the launch template, the same rules apply as for EnaQueueCount in InstanceSecondaryInterfaceSpecificationRequest.

Returns:

  • (Integer)


66892
66893
66894
66895
66896
66897
66898
66899
66900
66901
66902
66903
66904
66905
66906
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 66892

class LaunchTemplateInstanceSecondaryInterfaceSpecificationRequest < Struct.new(
  :delete_on_termination,
  :device_index,
  :private_ip_addresses,
  :private_ip_address_count,
  :secondary_subnet_id,
  :interface_type,
  :network_card_index,
  :ipv_6_addresses,
  :ipv_6_address_count,
  :ena_queue_count,
  :vlan_mode)
  SENSITIVE = []
  include Aws::Structure
end

#interface_type ⇒ String

The type of secondary interface.

Returns:

  • (String)


66892
66893
66894
66895
66896
66897
66898
66899
66900
66901
66902
66903
66904
66905
66906
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 66892

class LaunchTemplateInstanceSecondaryInterfaceSpecificationRequest < Struct.new(
  :delete_on_termination,
  :device_index,
  :private_ip_addresses,
  :private_ip_address_count,
  :secondary_subnet_id,
  :interface_type,
  :network_card_index,
  :ipv_6_addresses,
  :ipv_6_address_count,
  :ena_queue_count,
  :vlan_mode)
  SENSITIVE = []
  include Aws::Structure
end

#ipv_6_address_count ⇒ Integer

The number of IPv6 addresses to assign to the secondary interface. When you launch an instance from the launch template, the same rules apply as for Ipv6AddressCount in InstanceSecondaryInterfaceSpecificationRequest.

Returns:

  • (Integer)


66892
66893
66894
66895
66896
66897
66898
66899
66900
66901
66902
66903
66904
66905
66906
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 66892

class LaunchTemplateInstanceSecondaryInterfaceSpecificationRequest < Struct.new(
  :delete_on_termination,
  :device_index,
  :private_ip_addresses,
  :private_ip_address_count,
  :secondary_subnet_id,
  :interface_type,
  :network_card_index,
  :ipv_6_addresses,
  :ipv_6_address_count,
  :ena_queue_count,
  :vlan_mode)
  SENSITIVE = []
  include Aws::Structure
end

#ipv_6_addresses ⇒ Array<Types::LaunchTemplateSecondaryInterfaceIpv6AddressRequest>

The IPv6 addresses to assign to the secondary interface. When you launch an instance from the launch template, the same rules apply as for Ipv6Addresses in InstanceSecondaryInterfaceSpecificationRequest.



66892
66893
66894
66895
66896
66897
66898
66899
66900
66901
66902
66903
66904
66905
66906
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 66892

class LaunchTemplateInstanceSecondaryInterfaceSpecificationRequest < Struct.new(
  :delete_on_termination,
  :device_index,
  :private_ip_addresses,
  :private_ip_address_count,
  :secondary_subnet_id,
  :interface_type,
  :network_card_index,
  :ipv_6_addresses,
  :ipv_6_address_count,
  :ena_queue_count,
  :vlan_mode)
  SENSITIVE = []
  include Aws::Structure
end

#network_card_index ⇒ Integer

The index of the network card.

Returns:

  • (Integer)


66892
66893
66894
66895
66896
66897
66898
66899
66900
66901
66902
66903
66904
66905
66906
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 66892

class LaunchTemplateInstanceSecondaryInterfaceSpecificationRequest < Struct.new(
  :delete_on_termination,
  :device_index,
  :private_ip_addresses,
  :private_ip_address_count,
  :secondary_subnet_id,
  :interface_type,
  :network_card_index,
  :ipv_6_addresses,
  :ipv_6_address_count,
  :ena_queue_count,
  :vlan_mode)
  SENSITIVE = []
  include Aws::Structure
end

#private_ip_address_count ⇒ Integer

The number of private IPv4 addresses to assign to the secondary interface.

Returns:

  • (Integer)


66892
66893
66894
66895
66896
66897
66898
66899
66900
66901
66902
66903
66904
66905
66906
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 66892

class LaunchTemplateInstanceSecondaryInterfaceSpecificationRequest < Struct.new(
  :delete_on_termination,
  :device_index,
  :private_ip_addresses,
  :private_ip_address_count,
  :secondary_subnet_id,
  :interface_type,
  :network_card_index,
  :ipv_6_addresses,
  :ipv_6_address_count,
  :ena_queue_count,
  :vlan_mode)
  SENSITIVE = []
  include Aws::Structure
end

#private_ip_addresses ⇒ Array<Types::SecondaryInterfacePrivateIpAddressSpecificationRequest>

The private IPv4 addresses to assign to the secondary interface.



66892
66893
66894
66895
66896
66897
66898
66899
66900
66901
66902
66903
66904
66905
66906
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 66892

class LaunchTemplateInstanceSecondaryInterfaceSpecificationRequest < Struct.new(
  :delete_on_termination,
  :device_index,
  :private_ip_addresses,
  :private_ip_address_count,
  :secondary_subnet_id,
  :interface_type,
  :network_card_index,
  :ipv_6_addresses,
  :ipv_6_address_count,
  :ena_queue_count,
  :vlan_mode)
  SENSITIVE = []
  include Aws::Structure
end

#secondary_subnet_id ⇒ String

The ID of the secondary subnet.

Returns:

  • (String)


66892
66893
66894
66895
66896
66897
66898
66899
66900
66901
66902
66903
66904
66905
66906
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 66892

class LaunchTemplateInstanceSecondaryInterfaceSpecificationRequest < Struct.new(
  :delete_on_termination,
  :device_index,
  :private_ip_addresses,
  :private_ip_address_count,
  :secondary_subnet_id,
  :interface_type,
  :network_card_index,
  :ipv_6_addresses,
  :ipv_6_address_count,
  :ena_queue_count,
  :vlan_mode)
  SENSITIVE = []
  include Aws::Structure
end

#vlan_mode ⇒ String

The VLAN mode of the secondary interface. When you launch an instance from the launch template, the same rules apply as for VlanMode in InstanceSecondaryInterfaceSpecificationRequest.

Returns:

  • (String)


66892
66893
66894
66895
66896
66897
66898
66899
66900
66901
66902
66903
66904
66905
66906
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 66892

class LaunchTemplateInstanceSecondaryInterfaceSpecificationRequest < Struct.new(
  :delete_on_termination,
  :device_index,
  :private_ip_addresses,
  :private_ip_address_count,
  :secondary_subnet_id,
  :interface_type,
  :network_card_index,
  :ipv_6_addresses,
  :ipv_6_address_count,
  :ena_queue_count,
  :vlan_mode)
  SENSITIVE = []
  include Aws::Structure
end