Class: Aws::EC2::Types::InstanceSecondaryInterfaceSpecificationRequest
- Inherits:
-
Struct
- Object
- Struct
- Aws::EC2::Types::InstanceSecondaryInterfaceSpecificationRequest
- Defined in:
- gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb
Overview
Describes a secondary interface specification for launching an instance.
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#delete_on_termination ⇒ Boolean
Indicates whether the secondary interface is deleted when the instance is terminated.
-
#device_index ⇒ Integer
The device index for the secondary interface attachment.
-
#ena_queue_count ⇒ Integer
The number of ENA queues to create for the secondary interface.
-
#interface_type ⇒ String
The type of secondary interface.
-
#ipv_6_address_count ⇒ Integer
The number of IPv6 addresses to assign to the secondary interface.
-
#ipv_6_addresses ⇒ Array<Types::InstanceSecondaryInterfaceIpv6AddressRequest>
The IPv6 addresses to assign to the secondary interface.
-
#network_card_index ⇒ Integer
The index of the network card.
-
#private_ip_address_count ⇒ Integer
The number of private IPv4 addresses to assign to the secondary interface.
-
#private_ip_addresses ⇒ Array<Types::InstanceSecondaryInterfacePrivateIpAddressRequest>
The private IPv4 addresses to assign to the secondary interface.
-
#secondary_subnet_id ⇒ String
The ID of the secondary subnet.
-
#vlan_mode ⇒ String
The VLAN mode of the secondary interface.
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.
61109 61110 61111 61112 61113 61114 61115 61116 61117 61118 61119 61120 61121 61122 61123 |
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 61109 class InstanceSecondaryInterfaceSpecificationRequest < Struct.new( :delete_on_termination, :device_index, :private_ip_addresses, :private_ip_address_count, :ipv_6_addresses, :ipv_6_address_count, :secondary_subnet_id, :interface_type, :network_card_index, :ena_queue_count, :vlan_mode) SENSITIVE = [] include Aws::Structure end |
#device_index ⇒ Integer
The device index for the secondary interface attachment.
61109 61110 61111 61112 61113 61114 61115 61116 61117 61118 61119 61120 61121 61122 61123 |
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 61109 class InstanceSecondaryInterfaceSpecificationRequest < Struct.new( :delete_on_termination, :device_index, :private_ip_addresses, :private_ip_address_count, :ipv_6_addresses, :ipv_6_address_count, :secondary_subnet_id, :interface_type, :network_card_index, :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. The
value must be a power of 2 and can't exceed the maximum for each
interface. The total for the interfaces on a network card can't
exceed the network card's maximum. If you don't specify a value,
Amazon EC2 uses the network card's default. Supported only for
virtual-edge secondary networks.
61109 61110 61111 61112 61113 61114 61115 61116 61117 61118 61119 61120 61121 61122 61123 |
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 61109 class InstanceSecondaryInterfaceSpecificationRequest < Struct.new( :delete_on_termination, :device_index, :private_ip_addresses, :private_ip_address_count, :ipv_6_addresses, :ipv_6_address_count, :secondary_subnet_id, :interface_type, :network_card_index, :ena_queue_count, :vlan_mode) SENSITIVE = [] include Aws::Structure end |
#interface_type ⇒ String
The type of secondary interface.
61109 61110 61111 61112 61113 61114 61115 61116 61117 61118 61119 61120 61121 61122 61123 |
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 61109 class InstanceSecondaryInterfaceSpecificationRequest < Struct.new( :delete_on_termination, :device_index, :private_ip_addresses, :private_ip_address_count, :ipv_6_addresses, :ipv_6_address_count, :secondary_subnet_id, :interface_type, :network_card_index, :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.
The value must be greater than 0. You can specify this parameter
only for a secondary interface in an IPv6 secondary subnet. You
can't specify both Ipv6Addresses and Ipv6AddressCount.
Supported only for virtual-edge secondary networks.
61109 61110 61111 61112 61113 61114 61115 61116 61117 61118 61119 61120 61121 61122 61123 |
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 61109 class InstanceSecondaryInterfaceSpecificationRequest < Struct.new( :delete_on_termination, :device_index, :private_ip_addresses, :private_ip_address_count, :ipv_6_addresses, :ipv_6_address_count, :secondary_subnet_id, :interface_type, :network_card_index, :ena_queue_count, :vlan_mode) SENSITIVE = [] include Aws::Structure end |
#ipv_6_addresses ⇒ Array<Types::InstanceSecondaryInterfaceIpv6AddressRequest>
The IPv6 addresses to assign to the secondary interface. You can
specify this parameter only for a secondary interface in an IPv6
secondary subnet. You can't specify both Ipv6Addresses and
Ipv6AddressCount. Supported only for virtual-edge secondary
networks.
61109 61110 61111 61112 61113 61114 61115 61116 61117 61118 61119 61120 61121 61122 61123 |
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 61109 class InstanceSecondaryInterfaceSpecificationRequest < Struct.new( :delete_on_termination, :device_index, :private_ip_addresses, :private_ip_address_count, :ipv_6_addresses, :ipv_6_address_count, :secondary_subnet_id, :interface_type, :network_card_index, :ena_queue_count, :vlan_mode) SENSITIVE = [] include Aws::Structure end |
#network_card_index ⇒ Integer
The index of the network card. The network card must support secondary interfaces.
61109 61110 61111 61112 61113 61114 61115 61116 61117 61118 61119 61120 61121 61122 61123 |
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 61109 class InstanceSecondaryInterfaceSpecificationRequest < Struct.new( :delete_on_termination, :device_index, :private_ip_addresses, :private_ip_address_count, :ipv_6_addresses, :ipv_6_address_count, :secondary_subnet_id, :interface_type, :network_card_index, :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.
61109 61110 61111 61112 61113 61114 61115 61116 61117 61118 61119 61120 61121 61122 61123 |
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 61109 class InstanceSecondaryInterfaceSpecificationRequest < Struct.new( :delete_on_termination, :device_index, :private_ip_addresses, :private_ip_address_count, :ipv_6_addresses, :ipv_6_address_count, :secondary_subnet_id, :interface_type, :network_card_index, :ena_queue_count, :vlan_mode) SENSITIVE = [] include Aws::Structure end |
#private_ip_addresses ⇒ Array<Types::InstanceSecondaryInterfacePrivateIpAddressRequest>
The private IPv4 addresses to assign to the secondary interface.
61109 61110 61111 61112 61113 61114 61115 61116 61117 61118 61119 61120 61121 61122 61123 |
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 61109 class InstanceSecondaryInterfaceSpecificationRequest < Struct.new( :delete_on_termination, :device_index, :private_ip_addresses, :private_ip_address_count, :ipv_6_addresses, :ipv_6_address_count, :secondary_subnet_id, :interface_type, :network_card_index, :ena_queue_count, :vlan_mode) SENSITIVE = [] include Aws::Structure end |
#secondary_subnet_id ⇒ String
The ID of the secondary subnet.
61109 61110 61111 61112 61113 61114 61115 61116 61117 61118 61119 61120 61121 61122 61123 |
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 61109 class InstanceSecondaryInterfaceSpecificationRequest < Struct.new( :delete_on_termination, :device_index, :private_ip_addresses, :private_ip_address_count, :ipv_6_addresses, :ipv_6_address_count, :secondary_subnet_id, :interface_type, :network_card_index, :ena_queue_count, :vlan_mode) SENSITIVE = [] include Aws::Structure end |
#vlan_mode ⇒ String
The VLAN mode of the secondary interface. Required for secondary
interfaces in virtual-edge secondary networks, and not supported
for secondary interfaces in rdma secondary networks.
61109 61110 61111 61112 61113 61114 61115 61116 61117 61118 61119 61120 61121 61122 61123 |
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 61109 class InstanceSecondaryInterfaceSpecificationRequest < Struct.new( :delete_on_termination, :device_index, :private_ip_addresses, :private_ip_address_count, :ipv_6_addresses, :ipv_6_address_count, :secondary_subnet_id, :interface_type, :network_card_index, :ena_queue_count, :vlan_mode) SENSITIVE = [] include Aws::Structure end |