View a markdown version of this page

InstanceSecondaryInterfaceSpecificationRequest - Amazon Elastic Compute Cloud

InstanceSecondaryInterfaceSpecificationRequest

Describes a secondary interface specification for launching an instance.

Contents

DeleteOnTermination

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

The only supported value for this field is true.

Type: Boolean

Required: No

DeviceIndex

The device index for the secondary interface attachment.

Type: Integer

Required: No

EnaQueueCount

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.

Type: Integer

Required: No

InterfaceType

The type of secondary interface.

Type: String

Valid Values: secondary

Required: No

Ipv6Address.N

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.

Type: Array of InstanceSecondaryInterfaceIpv6AddressRequest objects

Required: No

Ipv6AddressCount

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.

Type: Integer

Required: No

NetworkCardIndex

The index of the network card. The network card must support secondary interfaces.

Type: Integer

Required: No

PrivateIpAddress.N

The private IPv4 addresses to assign to the secondary interface.

Type: Array of InstanceSecondaryInterfacePrivateIpAddressRequest objects

Required: No

PrivateIpAddressCount

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

Type: Integer

Required: No

SecondarySubnetId

The ID of the secondary subnet.

Type: String

Required: No

VlanMode

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.

Type: String

Valid Values: access

Required: No

See Also

For more information about using this API in one of the language-specific AWS SDKs, see the following: