Skip to content

/AWS1/CL_EC2LAUNCHTMPLINSTNE00

The parameters for a network interface.

CONSTRUCTOR

IMPORTING

Optional arguments:

IV_ASSOCIATECARRIERIPADDRESS TYPE /AWS1/EC2BOOLEAN /AWS1/EC2BOOLEAN

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.

IV_ASSOCIATEPUBLICIPADDRESS TYPE /AWS1/EC2BOOLEAN /AWS1/EC2BOOLEAN

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

Amazon Web Services charges for all public IPv4 addresses, including public IPv4 addresses associated with running instances and Elastic IP addresses. For more information, see the Public IPv4 Address tab on the Amazon VPC pricing page.

IV_DELETEONTERMINATION TYPE /AWS1/EC2BOOLEAN /AWS1/EC2BOOLEAN

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

IV_DESCRIPTION TYPE /AWS1/EC2STRING /AWS1/EC2STRING

A description for the network interface.

IV_DEVICEINDEX TYPE /AWS1/EC2INTEGER /AWS1/EC2INTEGER

The device index for the network interface attachment. Each network interface requires a device index. If you create a launch template that includes secondary network interfaces but not a primary network interface, then you must add a primary network interface as a launch parameter when you launch an instance from the template.

IT_GROUPS TYPE /AWS1/CL_EC2SECGRPIDSTRLIST_W=>TT_SECURITYGROUPIDSTRINGLIST TT_SECURITYGROUPIDSTRINGLIST

The IDs of one or more security groups.

IV_INTERFACETYPE TYPE /AWS1/EC2STRING /AWS1/EC2STRING

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

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

Valid values: interface | efa

IV_IPV6ADDRESSCOUNT TYPE /AWS1/EC2INTEGER /AWS1/EC2INTEGER

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.

IT_IPV6ADDRESSES TYPE /AWS1/CL_EC2INSTIPV6ADDRESSREQ=>TT_INSTIPV6ADDRESSLISTREQUEST TT_INSTIPV6ADDRESSLISTREQUEST

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.

IV_NETWORKINTERFACEID TYPE /AWS1/EC2NETWORKINTERFACEID /AWS1/EC2NETWORKINTERFACEID

The ID of the network interface.

IV_PRIVATEIPADDRESS TYPE /AWS1/EC2STRING /AWS1/EC2STRING

The primary private IPv4 address of the network interface.

IT_PRIVATEIPADDRESSES TYPE /AWS1/CL_EC2PVTIPADDRESSSPEC=>TT_PRIVATEIPADDRESSSPECLIST TT_PRIVATEIPADDRESSSPECLIST

One or more private IPv4 addresses.

IV_SECPRIVATEIPADDRESSCOUNT TYPE /AWS1/EC2INTEGER /AWS1/EC2INTEGER

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

IV_SUBNETID TYPE /AWS1/EC2SUBNETID /AWS1/EC2SUBNETID

The ID of the subnet for the network interface.

IV_NETWORKCARDINDEX TYPE /AWS1/EC2INTEGER /AWS1/EC2INTEGER

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.

IT_IPV4PREFIXES TYPE /AWS1/CL_EC2IPV4PREFIXSPECREQ=>TT_IPV4PREFIXLIST TT_IPV4PREFIXLIST

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

IV_IPV4PREFIXCOUNT TYPE /AWS1/EC2INTEGER /AWS1/EC2INTEGER

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

IT_IPV6PREFIXES TYPE /AWS1/CL_EC2IPV6PREFIXSPECREQ=>TT_IPV6PREFIXLIST TT_IPV6PREFIXLIST

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

IV_IPV6PREFIXCOUNT TYPE /AWS1/EC2INTEGER /AWS1/EC2INTEGER

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

IV_PRIMARYIPV6 TYPE /AWS1/EC2BOOLEAN /AWS1/EC2BOOLEAN

The primary IPv6 address of the network interface. When you enable an IPv6 GUA address to be a primary IPv6, the first IPv6 GUA will be made the primary IPv6 address until the instance is terminated or the network interface is detached. For more information about primary IPv6 addresses, see RunInstances.

IO_ENASRDSPECIFICATION TYPE REF TO /AWS1/CL_EC2ENASRDSPECREQUEST /AWS1/CL_EC2ENASRDSPECREQUEST

Configure ENA Express settings for your launch template.

IO_CONNECTIONTRACKINGSPEC TYPE REF TO /AWS1/CL_EC2CONNTRKSPECREQUEST /AWS1/CL_EC2CONNTRKSPECREQUEST

A security group connection tracking specification that enables you to set the timeout for connection tracking on an Elastic network interface. For more information, see Idle connection tracking timeout in the Amazon EC2 User Guide.


Queryable Attributes

AssociateCarrierIpAddress

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.

Accessible with the following methods

Method Description
GET_ASSOCCARRIERIPADDRESS() Getter for ASSOCIATECARRIERIPADDRESS, with configurable defa
ASK_ASSOCCARRIERIPADDRESS() Getter for ASSOCIATECARRIERIPADDRESS w/ exceptions if field
HAS_ASSOCCARRIERIPADDRESS() Determine if ASSOCIATECARRIERIPADDRESS has a value

AssociatePublicIpAddress

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

Amazon Web Services charges for all public IPv4 addresses, including public IPv4 addresses associated with running instances and Elastic IP addresses. For more information, see the Public IPv4 Address tab on the Amazon VPC pricing page.

Accessible with the following methods

Method Description
GET_ASSOCIATEPUBLICIPADDRESS() Getter for ASSOCIATEPUBLICIPADDRESS, with configurable defau
ASK_ASSOCIATEPUBLICIPADDRESS() Getter for ASSOCIATEPUBLICIPADDRESS w/ exceptions if field h
HAS_ASSOCIATEPUBLICIPADDRESS() Determine if ASSOCIATEPUBLICIPADDRESS has a value

DeleteOnTermination

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

Accessible with the following methods

Method Description
GET_DELETEONTERMINATION() Getter for DELETEONTERMINATION, with configurable default
ASK_DELETEONTERMINATION() Getter for DELETEONTERMINATION w/ exceptions if field has no
HAS_DELETEONTERMINATION() Determine if DELETEONTERMINATION has a value

Description

A description for the network interface.

Accessible with the following methods

Method Description
GET_DESCRIPTION() Getter for DESCRIPTION, with configurable default
ASK_DESCRIPTION() Getter for DESCRIPTION w/ exceptions if field has no value
HAS_DESCRIPTION() Determine if DESCRIPTION has a value

DeviceIndex

The device index for the network interface attachment. Each network interface requires a device index. If you create a launch template that includes secondary network interfaces but not a primary network interface, then you must add a primary network interface as a launch parameter when you launch an instance from the template.

Accessible with the following methods

Method Description
GET_DEVICEINDEX() Getter for DEVICEINDEX, with configurable default
ASK_DEVICEINDEX() Getter for DEVICEINDEX w/ exceptions if field has no value
HAS_DEVICEINDEX() Determine if DEVICEINDEX has a value

Groups

The IDs of one or more security groups.

Accessible with the following methods

Method Description
GET_GROUPS() Getter for GROUPS, with configurable default
ASK_GROUPS() Getter for GROUPS w/ exceptions if field has no value
HAS_GROUPS() Determine if GROUPS has a value

InterfaceType

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

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

Valid values: interface | efa

Accessible with the following methods

Method Description
GET_INTERFACETYPE() Getter for INTERFACETYPE, with configurable default
ASK_INTERFACETYPE() Getter for INTERFACETYPE w/ exceptions if field has no value
HAS_INTERFACETYPE() Determine if INTERFACETYPE has a value

Ipv6AddressCount

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.

Accessible with the following methods

Method Description
GET_IPV6ADDRESSCOUNT() Getter for IPV6ADDRESSCOUNT, with configurable default
ASK_IPV6ADDRESSCOUNT() Getter for IPV6ADDRESSCOUNT w/ exceptions if field has no va
HAS_IPV6ADDRESSCOUNT() Determine if IPV6ADDRESSCOUNT has a value

Ipv6Addresses

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.

Accessible with the following methods

Method Description
GET_IPV6ADDRESSES() Getter for IPV6ADDRESSES, with configurable default
ASK_IPV6ADDRESSES() Getter for IPV6ADDRESSES w/ exceptions if field has no value
HAS_IPV6ADDRESSES() Determine if IPV6ADDRESSES has a value

NetworkInterfaceId

The ID of the network interface.

Accessible with the following methods

Method Description
GET_NETWORKINTERFACEID() Getter for NETWORKINTERFACEID, with configurable default
ASK_NETWORKINTERFACEID() Getter for NETWORKINTERFACEID w/ exceptions if field has no
HAS_NETWORKINTERFACEID() Determine if NETWORKINTERFACEID has a value

PrivateIpAddress

The primary private IPv4 address of the network interface.

Accessible with the following methods

Method Description
GET_PRIVATEIPADDRESS() Getter for PRIVATEIPADDRESS, with configurable default
ASK_PRIVATEIPADDRESS() Getter for PRIVATEIPADDRESS w/ exceptions if field has no va
HAS_PRIVATEIPADDRESS() Determine if PRIVATEIPADDRESS has a value

PrivateIpAddresses

One or more private IPv4 addresses.

Accessible with the following methods

Method Description
GET_PRIVATEIPADDRESSES() Getter for PRIVATEIPADDRESSES, with configurable default
ASK_PRIVATEIPADDRESSES() Getter for PRIVATEIPADDRESSES w/ exceptions if field has no
HAS_PRIVATEIPADDRESSES() Determine if PRIVATEIPADDRESSES has a value

SecondaryPrivateIpAddressCount

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

Accessible with the following methods

Method Description
GET_SECPRIVATEIPADDRESSCOUNT() Getter for SECPRIVATEIPADDRESSCOUNT, with configurable defau
ASK_SECPRIVATEIPADDRESSCOUNT() Getter for SECPRIVATEIPADDRESSCOUNT w/ exceptions if field h
HAS_SECPRIVATEIPADDRESSCOUNT() Determine if SECPRIVATEIPADDRESSCOUNT has a value

SubnetId

The ID of the subnet for the network interface.

Accessible with the following methods

Method Description
GET_SUBNETID() Getter for SUBNETID, with configurable default
ASK_SUBNETID() Getter for SUBNETID w/ exceptions if field has no value
HAS_SUBNETID() Determine if SUBNETID has a value

NetworkCardIndex

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.

Accessible with the following methods

Method Description
GET_NETWORKCARDINDEX() Getter for NETWORKCARDINDEX, with configurable default
ASK_NETWORKCARDINDEX() Getter for NETWORKCARDINDEX w/ exceptions if field has no va
HAS_NETWORKCARDINDEX() Determine if NETWORKCARDINDEX has a value

Ipv4Prefixes

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

Accessible with the following methods

Method Description
GET_IPV4PREFIXES() Getter for IPV4PREFIXES, with configurable default
ASK_IPV4PREFIXES() Getter for IPV4PREFIXES w/ exceptions if field has no value
HAS_IPV4PREFIXES() Determine if IPV4PREFIXES has a value

Ipv4PrefixCount

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

Accessible with the following methods

Method Description
GET_IPV4PREFIXCOUNT() Getter for IPV4PREFIXCOUNT, with configurable default
ASK_IPV4PREFIXCOUNT() Getter for IPV4PREFIXCOUNT w/ exceptions if field has no val
HAS_IPV4PREFIXCOUNT() Determine if IPV4PREFIXCOUNT has a value

Ipv6Prefixes

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

Accessible with the following methods

Method Description
GET_IPV6PREFIXES() Getter for IPV6PREFIXES, with configurable default
ASK_IPV6PREFIXES() Getter for IPV6PREFIXES w/ exceptions if field has no value
HAS_IPV6PREFIXES() Determine if IPV6PREFIXES has a value

Ipv6PrefixCount

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

Accessible with the following methods

Method Description
GET_IPV6PREFIXCOUNT() Getter for IPV6PREFIXCOUNT, with configurable default
ASK_IPV6PREFIXCOUNT() Getter for IPV6PREFIXCOUNT w/ exceptions if field has no val
HAS_IPV6PREFIXCOUNT() Determine if IPV6PREFIXCOUNT has a value

PrimaryIpv6

The primary IPv6 address of the network interface. When you enable an IPv6 GUA address to be a primary IPv6, the first IPv6 GUA will be made the primary IPv6 address until the instance is terminated or the network interface is detached. For more information about primary IPv6 addresses, see RunInstances.

Accessible with the following methods

Method Description
GET_PRIMARYIPV6() Getter for PRIMARYIPV6, with configurable default
ASK_PRIMARYIPV6() Getter for PRIMARYIPV6 w/ exceptions if field has no value
HAS_PRIMARYIPV6() Determine if PRIMARYIPV6 has a value

EnaSrdSpecification

Configure ENA Express settings for your launch template.

Accessible with the following methods

Method Description
GET_ENASRDSPECIFICATION() Getter for ENASRDSPECIFICATION

ConnectionTrackingSpecification

A security group connection tracking specification that enables you to set the timeout for connection tracking on an Elastic network interface. For more information, see Idle connection tracking timeout in the Amazon EC2 User Guide.

Accessible with the following methods

Method Description
GET_CONNECTIONTRACKINGSPEC() Getter for CONNECTIONTRACKINGSPEC

Public Local Types In This Class

Internal table types, representing arrays and maps of this class, are defined as local types:

TT_LAUNCHTMPLINSTNETWORKINTE00

TYPES TT_LAUNCHTMPLINSTNETWORKINTE00 TYPE STANDARD TABLE OF REF TO /AWS1/CL_EC2LAUNCHTMPLINSTNE00 WITH DEFAULT KEY
.