LaunchTemplateNetworkInterface constructor

const LaunchTemplateNetworkInterface({
  1. Input<String?>? associateCarrierIpAddress,
  2. Input<String?>? associatePublicIpAddress,
  3. Input<LaunchTemplateNetworkInterfaceConnectionTrackingSpecification?>? connectionTrackingSpecification,
  4. Input<String?>? deleteOnTermination,
  5. Input<String?>? description,
  6. Input<int?>? deviceIndex,
  7. Input<int?>? enaQueueCount,
  8. Input<LaunchTemplateNetworkInterfaceEnaSrdSpecification?>? enaSrdSpecification,
  9. Input<String?>? interfaceType,
  10. Input<int?>? ipv4AddressCount,
  11. Input<List<String>?>? ipv4Addresses,
  12. Input<int?>? ipv4PrefixCount,
  13. Input<List<String>?>? ipv4Prefixes,
  14. Input<int?>? ipv6AddressCount,
  15. Input<List<String>?>? ipv6Addresses,
  16. Input<int?>? ipv6PrefixCount,
  17. Input<List<String>?>? ipv6Prefixes,
  18. Input<int?>? networkCardIndex,
  19. Input<String?>? networkInterfaceId,
  20. Input<String?>? primaryIpv6,
  21. Input<String?>? privateIpAddress,
  22. Input<List<String>?>? securityGroups,
  23. Input<String?>? subnetId,
})

Creates a new LaunchTemplateNetworkInterface. associateCarrierIpAddress Associate 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. Boolean value, can be left unset. associatePublicIpAddress Associate a public ip address with the network interface. Boolean value, can be left unset. connectionTrackingSpecification The Connection Tracking Configuration for the network interface. See Amazon EC2 security group connection tracking deleteOnTermination Whether the network interface should be destroyed on instance termination. description Description of the network interface. deviceIndex The integer index of the network interface attachment. enaQueueCount The number of ENA queues to be created with the instance. Requires an instance type and operating system that support ENA queue configuration. enaSrdSpecification Configuration for Elastic Network Adapter (ENA) Express settings. Applies to network interfaces that use the ena Express feature. See details below. interfaceType The type of network interface. To create an Elastic Fabric Adapter (EFA), specify efa. ipv4AddressCount The number of secondary private IPv4 addresses to assign to a network interface. Conflicts with ipv4Addresses ipv4Addresses One or more private IPv4 addresses to associate. Conflicts with ipv4AddressCount ipv4PrefixCount The number of IPv4 prefixes to be automatically assigned to the network interface. Conflicts with ipv4Prefixes ipv4Prefixes One or more IPv4 prefixes to be assigned to the network interface. Conflicts with ipv4PrefixCount ipv6AddressCount The number of IPv6 addresses to assign to a network interface. Conflicts with ipv6Addresses ipv6Addresses One or more specific IPv6 addresses from the IPv6 CIDR block range of your subnet. Conflicts with ipv6AddressCount ipv6PrefixCount The number of IPv6 prefixes to be automatically assigned to the network interface. Conflicts with ipv6Prefixes ipv6Prefixes One or more IPv6 prefixes to be assigned to the network interface. Conflicts with ipv6PrefixCount 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. networkInterfaceId The ID of the network interface to attach. primaryIpv6 Whether the first IPv6 GUA will be made the primary IPv6 address. privateIpAddress The primary private IPv4 address. securityGroups A list of security group IDs to associate. subnetId The VPC Subnet ID to associate.

Implementation

const LaunchTemplateNetworkInterface({
  this.associateCarrierIpAddress,
  this.associatePublicIpAddress,
  this.connectionTrackingSpecification,
  this.deleteOnTermination,
  this.description,
  this.deviceIndex,
  this.enaQueueCount,
  this.enaSrdSpecification,
  this.interfaceType,
  this.ipv4AddressCount,
  this.ipv4Addresses,
  this.ipv4PrefixCount,
  this.ipv4Prefixes,
  this.ipv6AddressCount,
  this.ipv6Addresses,
  this.ipv6PrefixCount,
  this.ipv6Prefixes,
  this.networkCardIndex,
  this.networkInterfaceId,
  this.primaryIpv6,
  this.privateIpAddress,
  this.securityGroups,
  this.subnetId,
});