Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface LaunchTemplateInstanceNetworkInterfaceSpecificationRequest

The parameters for a network interface.

Hierarchy

  • LaunchTemplateInstanceNetworkInterfaceSpecificationRequest

Index

Properties

Optional AssociateCarrierIpAddress

AssociateCarrierIpAddress: undefined | false | true

Associates 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.

Optional AssociatePublicIpAddress

AssociatePublicIpAddress: undefined | false | true

Associates a public IPv4 address with eth0 for a new network interface.

Optional DeleteOnTermination

DeleteOnTermination: undefined | false | true

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

Optional Description

Description: undefined | string

A description for the network interface.

Optional DeviceIndex

DeviceIndex: undefined | number

The device index for the network interface attachment.

Optional Groups

Groups: string[]

The IDs of one or more security groups.

Optional InterfaceType

InterfaceType: undefined | string

The type of network interface. To create an Elastic Fabric Adapter (EFA), specify efa. For more information, see Elastic Fabric Adapter in the Amazon Elastic Compute Cloud User Guide.

If you are not creating an EFA, specify interface or omit this parameter.

Valid values: interface | efa

Optional Ipv4PrefixCount

Ipv4PrefixCount: undefined | number

The number of IPv4 prefixes to be automatically assigned to the network interface. You cannot use this option if you use the Ipv4Prefix option.

Optional Ipv4Prefixes

Ipv4Prefixes: Ipv4PrefixSpecificationRequest[]

One or more IPv4 prefixes to be assigned to the network interface. You cannot use this option if you use the Ipv4PrefixCount option.

Optional Ipv6AddressCount

Ipv6AddressCount: undefined | number

The number of IPv6 addresses to assign to a network interface. Amazon EC2 automatically selects the IPv6 addresses from the subnet range. You can't use this option if specifying specific IPv6 addresses.

Optional Ipv6Addresses

Ipv6Addresses: InstanceIpv6AddressRequest[]

One or more specific IPv6 addresses from the IPv6 CIDR block range of your subnet. You can't use this option if you're specifying a number of IPv6 addresses.

Optional Ipv6PrefixCount

Ipv6PrefixCount: undefined | number

The number of IPv6 prefixes to be automatically assigned to the network interface. You cannot use this option if you use the Ipv6Prefix option.

Optional Ipv6Prefixes

Ipv6Prefixes: Ipv6PrefixSpecificationRequest[]

One or more IPv6 prefixes to be assigned to the network interface. You cannot use this option if you use the Ipv6PrefixCount option.

Optional NetworkCardIndex

NetworkCardIndex: undefined | number

The index of the network card. Some instance types support multiple network cards. The primary network interface must be assigned to network card index 0. The default is network card index 0.

Optional NetworkInterfaceId

NetworkInterfaceId: undefined | string

The ID of the network interface.

Optional PrivateIpAddress

PrivateIpAddress: undefined | string

The primary private IPv4 address of the network interface.

Optional PrivateIpAddresses

PrivateIpAddresses: PrivateIpAddressSpecification[]

One or more private IPv4 addresses.

Optional SecondaryPrivateIpAddressCount

SecondaryPrivateIpAddressCount: undefined | number

The number of secondary private IPv4 addresses to assign to a network interface.

Optional SubnetId

SubnetId: undefined | string

The ID of the subnet for the network interface.