Package com.pulumi.aws.ec2.outputs
Class LaunchTemplateNetworkInterface
- java.lang.Object
-
- com.pulumi.aws.ec2.outputs.LaunchTemplateNetworkInterface
-
public final class LaunchTemplateNetworkInterface extends java.lang.Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classLaunchTemplateNetworkInterface.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.Optional<java.lang.String>associateCarrierIpAddress()java.util.Optional<java.lang.String>associatePublicIpAddress()static LaunchTemplateNetworkInterface.Builderbuilder()static LaunchTemplateNetworkInterface.Builderbuilder(LaunchTemplateNetworkInterface defaults)java.util.Optional<LaunchTemplateNetworkInterfaceConnectionTrackingSpecification>connectionTrackingSpecification()java.util.Optional<java.lang.String>deleteOnTermination()java.util.Optional<java.lang.String>description()java.util.Optional<java.lang.Integer>deviceIndex()java.util.Optional<java.lang.Integer>enaQueueCount()java.util.Optional<LaunchTemplateNetworkInterfaceEnaSrdSpecification>enaSrdSpecification()java.util.Optional<java.lang.String>interfaceType()java.util.Optional<java.lang.Integer>ipv4AddressCount()java.util.List<java.lang.String>ipv4Addresses()java.util.Optional<java.lang.Integer>ipv4PrefixCount()java.util.List<java.lang.String>ipv4Prefixes()java.util.Optional<java.lang.Integer>ipv6AddressCount()java.util.List<java.lang.String>ipv6Addresses()java.util.Optional<java.lang.Integer>ipv6PrefixCount()java.util.List<java.lang.String>ipv6Prefixes()java.util.Optional<java.lang.Integer>networkCardIndex()java.util.Optional<java.lang.String>networkInterfaceId()java.util.Optional<java.lang.String>primaryIpv6()java.util.Optional<java.lang.String>privateIpAddress()java.util.List<java.lang.String>securityGroups()java.util.Optional<java.lang.String>subnetId()
-
-
-
Method Detail
-
associateCarrierIpAddress
public java.util.Optional<java.lang.String> associateCarrierIpAddress()
- Returns:
- 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
public java.util.Optional<java.lang.String> associatePublicIpAddress()
- Returns:
- Associate a public IP address with the network interface. Boolean value, can be left unset.
-
connectionTrackingSpecification
public java.util.Optional<LaunchTemplateNetworkInterfaceConnectionTrackingSpecification> connectionTrackingSpecification()
- Returns:
- The Connection Tracking Configuration for the network interface. See [Amazon EC2 security group connection tracking](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/security-group-connection-tracking.html#connection-tracking-timeouts)
-
deleteOnTermination
public java.util.Optional<java.lang.String> deleteOnTermination()
- Returns:
- Whether the network interface should be destroyed on instance termination.
-
description
public java.util.Optional<java.lang.String> description()
- Returns:
- Description of the network interface.
-
deviceIndex
public java.util.Optional<java.lang.Integer> deviceIndex()
- Returns:
- The integer index of the network interface attachment.
-
enaQueueCount
public java.util.Optional<java.lang.Integer> enaQueueCount()
- Returns:
- The number of ENA queues to be created with the instance. Requires an instance type and operating system that support [ENA queue configuration](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ena-queues.html).
-
enaSrdSpecification
public java.util.Optional<LaunchTemplateNetworkInterfaceEnaSrdSpecification> enaSrdSpecification()
- Returns:
- Configuration for Elastic Network Adapter (ENA) Express settings. Applies to network interfaces that use the [ena Express](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/enhanced-networking-ena-express.html) feature. See details below.
-
interfaceType
public java.util.Optional<java.lang.String> interfaceType()
- Returns:
- The type of network interface. To create an Elastic Fabric Adapter (EFA), specify `efa`.
-
ipv4AddressCount
public java.util.Optional<java.lang.Integer> ipv4AddressCount()
- Returns:
- The number of secondary private IPv4 addresses to assign to a network interface. Conflicts with `ipv4Addresses`
-
ipv4Addresses
public java.util.List<java.lang.String> ipv4Addresses()
- Returns:
- One or more private IPv4 addresses to associate. Conflicts with `ipv4AddressCount`
-
ipv4PrefixCount
public java.util.Optional<java.lang.Integer> ipv4PrefixCount()
- Returns:
- The number of IPv4 prefixes to be automatically assigned to the network interface. Conflicts with `ipv4Prefixes`
-
ipv4Prefixes
public java.util.List<java.lang.String> ipv4Prefixes()
- Returns:
- One or more IPv4 prefixes to be assigned to the network interface. Conflicts with `ipv4PrefixCount`
-
ipv6AddressCount
public java.util.Optional<java.lang.Integer> ipv6AddressCount()
- Returns:
- The number of IPv6 addresses to assign to a network interface. Conflicts with `ipv6Addresses`
-
ipv6Addresses
public java.util.List<java.lang.String> ipv6Addresses()
- Returns:
- One or more specific IPv6 addresses from the IPv6 CIDR block range of your subnet. Conflicts with `ipv6AddressCount`
-
ipv6PrefixCount
public java.util.Optional<java.lang.Integer> ipv6PrefixCount()
- Returns:
- The number of IPv6 prefixes to be automatically assigned to the network interface. Conflicts with `ipv6Prefixes`
-
ipv6Prefixes
public java.util.List<java.lang.String> ipv6Prefixes()
- Returns:
- One or more IPv6 prefixes to be assigned to the network interface. Conflicts with `ipv6PrefixCount`
-
networkCardIndex
public java.util.Optional<java.lang.Integer> networkCardIndex()
- Returns:
- 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
public java.util.Optional<java.lang.String> networkInterfaceId()
- Returns:
- The ID of the network interface to attach.
-
primaryIpv6
public java.util.Optional<java.lang.String> primaryIpv6()
- Returns:
- Whether the first IPv6 GUA will be made the primary IPv6 address.
-
privateIpAddress
public java.util.Optional<java.lang.String> privateIpAddress()
- Returns:
- The primary private IPv4 address.
-
securityGroups
public java.util.List<java.lang.String> securityGroups()
- Returns:
- A list of security group IDs to associate.
-
subnetId
public java.util.Optional<java.lang.String> subnetId()
- Returns:
- The VPC Subnet ID to associate.
-
builder
public static LaunchTemplateNetworkInterface.Builder builder()
-
builder
public static LaunchTemplateNetworkInterface.Builder builder(LaunchTemplateNetworkInterface defaults)
-
-