LaunchTemplateNetworkInterface class
Constructors
-
LaunchTemplateNetworkInterface({Input<
String?> ? associateCarrierIpAddress, Input<String?> ? associatePublicIpAddress, Input<LaunchTemplateNetworkInterfaceConnectionTrackingSpecification?> ? connectionTrackingSpecification, Input<String?> ? deleteOnTermination, Input<String?> ? description, Input<int?> ? deviceIndex, Input<int?> ? enaQueueCount, Input<LaunchTemplateNetworkInterfaceEnaSrdSpecification?> ? enaSrdSpecification, Input<String?> ? interfaceType, Input<int?> ? ipv4AddressCount, Input<List< ? ipv4Addresses, Input<String> ?>int?> ? ipv4PrefixCount, Input<List< ? ipv4Prefixes, Input<String> ?>int?> ? ipv6AddressCount, Input<List< ? ipv6Addresses, Input<String> ?>int?> ? ipv6PrefixCount, Input<List< ? ipv6Prefixes, Input<String> ?>int?> ? networkCardIndex, Input<String?> ? networkInterfaceId, Input<String?> ? primaryIpv6, Input<String?> ? privateIpAddress, Input<List< ? securityGroups, Input<String> ?>String?> ? subnetId}) -
Creates a new LaunchTemplateNetworkInterface.
associateCarrierIpAddressAssociate a Carrier IP address witheth0for 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.associatePublicIpAddressAssociate a public ip address with the network interface. Boolean value, can be left unset.connectionTrackingSpecificationThe Connection Tracking Configuration for the network interface. See Amazon EC2 security group connection trackingdeleteOnTerminationWhether the network interface should be destroyed on instance termination.descriptionDescription of the network interface.deviceIndexThe integer index of the network interface attachment.enaQueueCountThe number of ENA queues to be created with the instance. Requires an instance type and operating system that support ENA queue configuration.enaSrdSpecificationConfiguration for Elastic Network Adapter (ENA) Express settings. Applies to network interfaces that use the ena Express feature. See details below.interfaceTypeThe type of network interface. To create an Elastic Fabric Adapter (EFA), specifyefa.ipv4AddressCountThe number of secondary private IPv4 addresses to assign to a network interface. Conflicts withipv4Addressesipv4AddressesOne or more private IPv4 addresses to associate. Conflicts withipv4AddressCountipv4PrefixCountThe number of IPv4 prefixes to be automatically assigned to the network interface. Conflicts withipv4Prefixesipv4PrefixesOne or more IPv4 prefixes to be assigned to the network interface. Conflicts withipv4PrefixCountipv6AddressCountThe number of IPv6 addresses to assign to a network interface. Conflicts withipv6Addressesipv6AddressesOne or more specific IPv6 addresses from the IPv6 CIDR block range of your subnet. Conflicts withipv6AddressCountipv6PrefixCountThe number of IPv6 prefixes to be automatically assigned to the network interface. Conflicts withipv6Prefixesipv6PrefixesOne or more IPv6 prefixes to be assigned to the network interface. Conflicts withipv6PrefixCountnetworkCardIndexThe 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.networkInterfaceIdThe ID of the network interface to attach.primaryIpv6Whether the first IPv6 GUA will be made the primary IPv6 address.privateIpAddressThe primary private IPv4 address.securityGroupsA list of security group IDs to associate.subnetIdThe VPC Subnet ID to associate.const -
LaunchTemplateNetworkInterface.fromMap(Map<
String, dynamic> map) -
factory
Properties
-
associateCarrierIpAddress
→ Input<
String?> ? -
Associate a Carrier IP address with
eth0for 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.final -
associatePublicIpAddress
→ Input<
String?> ? -
Associate a public ip address with the network interface. Boolean value, can be left unset.
final
-
connectionTrackingSpecification
→ Input<
LaunchTemplateNetworkInterfaceConnectionTrackingSpecification?> ? -
The Connection Tracking Configuration for the network interface. See Amazon EC2 security group connection tracking
final
-
deleteOnTermination
→ Input<
String?> ? -
Whether the network interface should be destroyed on instance termination.
final
-
description
→ Input<
String?> ? -
Description of the network interface.
final
-
deviceIndex
→ Input<
int?> ? -
The integer index of the network interface attachment.
final
-
enaQueueCount
→ Input<
int?> ? -
The number of ENA queues to be created with the instance. Requires an instance type and operating system that support ENA queue configuration.
final
-
enaSrdSpecification
→ Input<
LaunchTemplateNetworkInterfaceEnaSrdSpecification?> ? -
Configuration for Elastic Network Adapter (ENA) Express settings. Applies to network interfaces that use the ena Express feature. See details below.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
-
interfaceType
→ Input<
String?> ? -
The type of network interface. To create an Elastic Fabric Adapter (EFA), specify
efa.final -
ipv4AddressCount
→ Input<
int?> ? -
The number of secondary private IPv4 addresses to assign to a network interface. Conflicts with
ipv4Addressesfinal -
ipv4Addresses
→ Input<
List< ?String> ?> -
One or more private IPv4 addresses to associate. Conflicts with
ipv4AddressCountfinal -
ipv4PrefixCount
→ Input<
int?> ? -
The number of IPv4 prefixes to be automatically assigned to the network interface. Conflicts with
ipv4Prefixesfinal -
ipv4Prefixes
→ Input<
List< ?String> ?> -
One or more IPv4 prefixes to be assigned to the network interface. Conflicts with
ipv4PrefixCountfinal -
ipv6AddressCount
→ Input<
int?> ? -
The number of IPv6 addresses to assign to a network interface. Conflicts with
ipv6Addressesfinal -
ipv6Addresses
→ Input<
List< ?String> ?> -
One or more specific IPv6 addresses from the IPv6 CIDR block range of your subnet. Conflicts with
ipv6AddressCountfinal -
ipv6PrefixCount
→ Input<
int?> ? -
The number of IPv6 prefixes to be automatically assigned to the network interface. Conflicts with
ipv6Prefixesfinal -
ipv6Prefixes
→ Input<
List< ?String> ?> -
One or more IPv6 prefixes to be assigned to the network interface. Conflicts with
ipv6PrefixCountfinal -
networkCardIndex
→ Input<
int?> ? -
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.
final
-
networkInterfaceId
→ Input<
String?> ? -
The ID of the network interface to attach.
final
-
primaryIpv6
→ Input<
String?> ? -
Whether the first IPv6 GUA will be made the primary IPv6 address.
final
-
privateIpAddress
→ Input<
String?> ? -
The primary private IPv4 address.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
securityGroups
→ Input<
List< ?String> ?> -
A list of security group IDs to associate.
final
-
subnetId
→ Input<
String?> ? -
The VPC Subnet ID to associate.
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toMap(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited