Optional ReadonlyassociateAssociates 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.
Optional ReadonlyassociateAssociate an elastic IP with the interface
Optional ReadonlyassociateAssociates a public IPv4 address with eth0 for a new network interface.
Optional ReadonlydeleteIndicates whether the network interface is deleted when the instance is terminated.
Optional ReadonlydescriptionA description for the network interface.
Optional ReadonlydeviceThe device index for the network interface attachment.
Optional ReadonlygroupsSecurity group names to associate with this network interface.
Optional ReadonlyinterfaceThe type of network interface. To create an Elastic Fabric Adapter (EFA), specify efa. If you are not creating an EFA, specify interface or omit this parameter.
Valid values: interface | efa
Optional ReadonlynetworkThe 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 ReadonlynetworkThe ID of the network interface.
Optional ReadonlyprivateThe primary private IPv4 address of the network interface.
Optional ReadonlyprivateOne or more private IPv4 addresses.
Optional ReadonlysecondaryThe number of secondary private IPv4 addresses to assign to a network interface.
Optional ReadonlysourceIf the value is true , source/destination checks are enabled; otherwise, they are disabled. The default value is true. You must disable source/destination checks if the instance runs services such as network address translation, routing, or firewalls.
Optional ReadonlysubnetValid subnet name from network-config.yaml under the same vpc
CustomizationsConfig / AppConfigItem | Ec2FirewallConfig / LaunchTemplateConfig / NetworkInterfaceItemConfig
Description
The parameters for a network interface.
See
https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_LaunchTemplateInstanceNetworkInterfaceSpecificationRequest.html
Example