@Stability(value=Stable) public static final class CfnLaunchTemplate.NetworkInterfaceProperty.Builder extends Object implements software.amazon.jsii.Builder<CfnLaunchTemplate.NetworkInterfaceProperty>
CfnLaunchTemplate.NetworkInterfaceProperty| Constructor and Description |
|---|
Builder() |
@Stability(value=Stable) public CfnLaunchTemplate.NetworkInterfaceProperty.Builder associateCarrierIpAddress(Boolean associateCarrierIpAddress)
associateCarrierIpAddress - Indicates whether to 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. For more information about Carrier IP addresses, see Carrier IP addresses in the AWS Wavelength Developer Guide .this@Stability(value=Stable) public CfnLaunchTemplate.NetworkInterfaceProperty.Builder associateCarrierIpAddress(IResolvable associateCarrierIpAddress)
associateCarrierIpAddress - Indicates whether to 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. For more information about Carrier IP addresses, see Carrier IP addresses in the AWS Wavelength Developer Guide .this@Stability(value=Stable) public CfnLaunchTemplate.NetworkInterfaceProperty.Builder associatePublicIpAddress(Boolean associatePublicIpAddress)
CfnLaunchTemplate.NetworkInterfaceProperty.getAssociatePublicIpAddress()associatePublicIpAddress - Associates a public IPv4 address with eth0 for a new network interface.this@Stability(value=Stable) public CfnLaunchTemplate.NetworkInterfaceProperty.Builder associatePublicIpAddress(IResolvable associatePublicIpAddress)
CfnLaunchTemplate.NetworkInterfaceProperty.getAssociatePublicIpAddress()associatePublicIpAddress - Associates a public IPv4 address with eth0 for a new network interface.this@Stability(value=Stable) public CfnLaunchTemplate.NetworkInterfaceProperty.Builder deleteOnTermination(Boolean deleteOnTermination)
CfnLaunchTemplate.NetworkInterfaceProperty.getDeleteOnTermination()deleteOnTermination - Indicates whether the network interface is deleted when the instance is terminated.this@Stability(value=Stable) public CfnLaunchTemplate.NetworkInterfaceProperty.Builder deleteOnTermination(IResolvable deleteOnTermination)
CfnLaunchTemplate.NetworkInterfaceProperty.getDeleteOnTermination()deleteOnTermination - Indicates whether the network interface is deleted when the instance is terminated.this@Stability(value=Stable) public CfnLaunchTemplate.NetworkInterfaceProperty.Builder description(String description)
CfnLaunchTemplate.NetworkInterfaceProperty.getDescription()description - A description for the network interface.this@Stability(value=Stable) public CfnLaunchTemplate.NetworkInterfaceProperty.Builder deviceIndex(Number deviceIndex)
CfnLaunchTemplate.NetworkInterfaceProperty.getDeviceIndex()deviceIndex - The device index for the network interface attachment.this@Stability(value=Stable) public CfnLaunchTemplate.NetworkInterfaceProperty.Builder groups(List<String> groups)
CfnLaunchTemplate.NetworkInterfaceProperty.getGroups()groups - The IDs of one or more security groups.this@Stability(value=Stable) public CfnLaunchTemplate.NetworkInterfaceProperty.Builder interfaceType(String interfaceType)
CfnLaunchTemplate.NetworkInterfaceProperty.getInterfaceType()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 Elastic Compute Cloud User Guide .
If you are not creating an EFA, specify interface or omit this parameter.
Valid values: interface | efa
this@Stability(value=Stable) public CfnLaunchTemplate.NetworkInterfaceProperty.Builder ipv4PrefixCount(Number ipv4PrefixCount)
CfnLaunchTemplate.NetworkInterfaceProperty.getIpv4PrefixCount()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.this@Stability(value=Stable) public CfnLaunchTemplate.NetworkInterfaceProperty.Builder ipv4Prefixes(IResolvable ipv4Prefixes)
CfnLaunchTemplate.NetworkInterfaceProperty.getIpv4Prefixes()ipv4Prefixes - One or more IPv4 prefixes to be assigned to the network interface.
You cannot use this option if you use the Ipv4PrefixCount option.this@Stability(value=Stable) public CfnLaunchTemplate.NetworkInterfaceProperty.Builder ipv4Prefixes(List<? extends Object> ipv4Prefixes)
CfnLaunchTemplate.NetworkInterfaceProperty.getIpv4Prefixes()ipv4Prefixes - One or more IPv4 prefixes to be assigned to the network interface.
You cannot use this option if you use the Ipv4PrefixCount option.this@Stability(value=Stable) public CfnLaunchTemplate.NetworkInterfaceProperty.Builder ipv6AddressCount(Number ipv6AddressCount)
CfnLaunchTemplate.NetworkInterfaceProperty.getIpv6AddressCount()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.this@Stability(value=Stable) public CfnLaunchTemplate.NetworkInterfaceProperty.Builder ipv6Addresses(IResolvable ipv6Addresses)
CfnLaunchTemplate.NetworkInterfaceProperty.getIpv6Addresses()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.this@Stability(value=Stable) public CfnLaunchTemplate.NetworkInterfaceProperty.Builder ipv6Addresses(List<? extends Object> ipv6Addresses)
CfnLaunchTemplate.NetworkInterfaceProperty.getIpv6Addresses()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.this@Stability(value=Stable) public CfnLaunchTemplate.NetworkInterfaceProperty.Builder ipv6PrefixCount(Number ipv6PrefixCount)
CfnLaunchTemplate.NetworkInterfaceProperty.getIpv6PrefixCount()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.this@Stability(value=Stable) public CfnLaunchTemplate.NetworkInterfaceProperty.Builder ipv6Prefixes(IResolvable ipv6Prefixes)
CfnLaunchTemplate.NetworkInterfaceProperty.getIpv6Prefixes()ipv6Prefixes - One or more IPv6 prefixes to be assigned to the network interface.
You cannot use this option if you use the Ipv6PrefixCount option.this@Stability(value=Stable) public CfnLaunchTemplate.NetworkInterfaceProperty.Builder ipv6Prefixes(List<? extends Object> ipv6Prefixes)
CfnLaunchTemplate.NetworkInterfaceProperty.getIpv6Prefixes()ipv6Prefixes - One or more IPv6 prefixes to be assigned to the network interface.
You cannot use this option if you use the Ipv6PrefixCount option.this@Stability(value=Stable) public CfnLaunchTemplate.NetworkInterfaceProperty.Builder networkCardIndex(Number networkCardIndex)
CfnLaunchTemplate.NetworkInterfaceProperty.getNetworkCardIndex()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.this@Stability(value=Stable) public CfnLaunchTemplate.NetworkInterfaceProperty.Builder networkInterfaceId(String networkInterfaceId)
CfnLaunchTemplate.NetworkInterfaceProperty.getNetworkInterfaceId()networkInterfaceId - The ID of the network interface.this@Stability(value=Stable) public CfnLaunchTemplate.NetworkInterfaceProperty.Builder privateIpAddress(String privateIpAddress)
CfnLaunchTemplate.NetworkInterfaceProperty.getPrivateIpAddress()privateIpAddress - The primary private IPv4 address of the network interface.this@Stability(value=Stable) public CfnLaunchTemplate.NetworkInterfaceProperty.Builder privateIpAddresses(IResolvable privateIpAddresses)
CfnLaunchTemplate.NetworkInterfaceProperty.getPrivateIpAddresses()privateIpAddresses - One or more private IPv4 addresses.this@Stability(value=Stable) public CfnLaunchTemplate.NetworkInterfaceProperty.Builder privateIpAddresses(List<? extends Object> privateIpAddresses)
CfnLaunchTemplate.NetworkInterfaceProperty.getPrivateIpAddresses()privateIpAddresses - One or more private IPv4 addresses.this@Stability(value=Stable) public CfnLaunchTemplate.NetworkInterfaceProperty.Builder secondaryPrivateIpAddressCount(Number secondaryPrivateIpAddressCount)
secondaryPrivateIpAddressCount - The number of secondary private IPv4 addresses to assign to a network interface.this@Stability(value=Stable) public CfnLaunchTemplate.NetworkInterfaceProperty.Builder subnetId(String subnetId)
CfnLaunchTemplate.NetworkInterfaceProperty.getSubnetId()subnetId - The ID of the subnet for the network interface.this@Stability(value=Stable) public CfnLaunchTemplate.NetworkInterfaceProperty build()
build in interface software.amazon.jsii.Builder<CfnLaunchTemplate.NetworkInterfaceProperty>CfnLaunchTemplate.NetworkInterfacePropertyNullPointerException - if any required attribute was not providedCopyright © 2022. All rights reserved.