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_terminationBoolean

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

The only supported value for this field is true.

Returns:

  • (Boolean)


57755
57756
57757
57758
57759
57760
57761
57762
57763
57764
57765
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 57755

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

#device_indexInteger

The device index for the secondary interface attachment.

Returns:

  • (Integer)


57755
57756
57757
57758
57759
57760
57761
57762
57763
57764
57765
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 57755

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

#interface_typeString

The type of secondary interface.

Returns:

  • (String)


57755
57756
57757
57758
57759
57760
57761
57762
57763
57764
57765
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 57755

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

#network_card_indexInteger

The index of the network card.

Returns:

  • (Integer)


57755
57756
57757
57758
57759
57760
57761
57762
57763
57764
57765
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 57755

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

#private_ip_address_countInteger

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

Returns:

  • (Integer)


57755
57756
57757
57758
57759
57760
57761
57762
57763
57764
57765
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 57755

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

#private_ip_addressesArray<Types::SecondaryInterfacePrivateIpAddressSpecificationRequest>

The private IPv4 addresses to assign to the secondary interface.



57755
57756
57757
57758
57759
57760
57761
57762
57763
57764
57765
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 57755

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

#secondary_subnet_idString

The ID of the secondary subnet.

Returns:

  • (String)


57755
57756
57757
57758
57759
57760
57761
57762
57763
57764
57765
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 57755

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