Class CfnLaunchTemplate.NetworkInterfaceProperty.Jsii$Proxy
- All Implemented Interfaces:
CfnLaunchTemplate.NetworkInterfaceProperty,software.amazon.jsii.JsiiSerializable
- Enclosing interface:
CfnLaunchTemplate.NetworkInterfaceProperty
CfnLaunchTemplate.NetworkInterfaceProperty-
Nested Class Summary
Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationModeNested classes/interfaces inherited from interface software.amazon.awscdk.services.ec2.CfnLaunchTemplate.NetworkInterfaceProperty
CfnLaunchTemplate.NetworkInterfaceProperty.Builder, CfnLaunchTemplate.NetworkInterfaceProperty.Jsii$Proxy -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedConstructor that initializes the object based on literal property values passed by theCfnLaunchTemplate.NetworkInterfaceProperty.Builder.protectedJsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef) Constructor that initializes the object based on values retrieved from the JsiiObject. -
Method Summary
Modifier and TypeMethodDescriptioncom.fasterxml.jackson.databind.JsonNodefinal booleanfinal ObjectAssociates a Carrier IP address with eth0 for a new network interface.final ObjectAssociates a public IPv4 address with eth0 for a new network interface.final ObjectA connection tracking specification for the network interface.final ObjectIndicates whether the network interface is deleted when the instance is terminated.final StringA description for the network interface.final NumberThe device index for the network interface attachment.final NumberThe number of ENA queues to be created with the instance.final ObjectThe ENA Express configuration for the network interface.The IDs of one or more security groups.final StringThe type of network interface.final NumberThe number of IPv4 prefixes to be automatically assigned to the network interface.final ObjectOne or more IPv4 prefixes to be assigned to the network interface.final NumberThe number of IPv6 addresses to assign to a network interface.final ObjectOne or more specific IPv6 addresses from the IPv6 CIDR block range of your subnet.final NumberThe number of IPv6 prefixes to be automatically assigned to the network interface.final ObjectOne or more IPv6 prefixes to be assigned to the network interface.final NumberThe index of the network card.final StringThe ID of the network interface.final ObjectThe primary IPv6 address of the network interface.final StringThe primary private IPv4 address of the network interface.final ObjectOne or more private IPv4 addresses.final NumberThe number of secondary private IPv4 addresses to assign to a network interface.final StringThe ID of the subnet for the network interface.final inthashCode()Methods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet
-
Constructor Details
-
Jsii$Proxy
protected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef) Constructor that initializes the object based on values retrieved from the JsiiObject.- Parameters:
objRef- Reference to the JSII managed object.
-
Jsii$Proxy
Constructor that initializes the object based on literal property values passed by theCfnLaunchTemplate.NetworkInterfaceProperty.Builder.
-
-
Method Details
-
getAssociateCarrierIpAddress
Description copied from interface:CfnLaunchTemplate.NetworkInterfacePropertyAssociates 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 .
Returns union: either
BooleanorIResolvable- Specified by:
getAssociateCarrierIpAddressin interfaceCfnLaunchTemplate.NetworkInterfaceProperty- See Also:
-
getAssociatePublicIpAddress
Description copied from interface:CfnLaunchTemplate.NetworkInterfacePropertyAssociates a public IPv4 address with eth0 for a new network interface.AWS charges for all public IPv4 addresses, including public IPv4 addresses associated with running instances and Elastic IP addresses. For more information, see the Public IPv4 Address tab on the Amazon VPC pricing page .
Returns union: either
BooleanorIResolvable- Specified by:
getAssociatePublicIpAddressin interfaceCfnLaunchTemplate.NetworkInterfaceProperty- See Also:
-
getConnectionTrackingSpecification
Description copied from interface:CfnLaunchTemplate.NetworkInterfacePropertyA connection tracking specification for the network interface.Returns union: either
IResolvableorCfnLaunchTemplate.ConnectionTrackingSpecificationProperty- Specified by:
getConnectionTrackingSpecificationin interfaceCfnLaunchTemplate.NetworkInterfaceProperty- See Also:
-
getDeleteOnTermination
Description copied from interface:CfnLaunchTemplate.NetworkInterfacePropertyIndicates whether the network interface is deleted when the instance is terminated.Returns union: either
BooleanorIResolvable- Specified by:
getDeleteOnTerminationin interfaceCfnLaunchTemplate.NetworkInterfaceProperty- See Also:
-
getDescription
Description copied from interface:CfnLaunchTemplate.NetworkInterfacePropertyA description for the network interface.- Specified by:
getDescriptionin interfaceCfnLaunchTemplate.NetworkInterfaceProperty- See Also:
-
getDeviceIndex
Description copied from interface:CfnLaunchTemplate.NetworkInterfacePropertyThe device index for the network interface attachment.The primary network interface has a device index of 0. If the network interface is of type
interface, you must specify a device index.If you create a launch template that includes secondary network interfaces but no primary network interface, and you specify it using the
LaunchTemplateproperty ofAWS::EC2::Instance, then you must include a primary network interface using theNetworkInterfacesproperty ofAWS::EC2::Instance.- Specified by:
getDeviceIndexin interfaceCfnLaunchTemplate.NetworkInterfaceProperty- See Also:
-
getEnaQueueCount
Description copied from interface:CfnLaunchTemplate.NetworkInterfacePropertyThe number of ENA queues to be created with the instance.- Specified by:
getEnaQueueCountin interfaceCfnLaunchTemplate.NetworkInterfaceProperty- See Also:
-
getEnaSrdSpecification
Description copied from interface:CfnLaunchTemplate.NetworkInterfacePropertyThe ENA Express configuration for the network interface.Returns union: either
IResolvableorCfnLaunchTemplate.EnaSrdSpecificationProperty- Specified by:
getEnaSrdSpecificationin interfaceCfnLaunchTemplate.NetworkInterfaceProperty- See Also:
-
getGroups
Description copied from interface:CfnLaunchTemplate.NetworkInterfacePropertyThe IDs of one or more security groups.- Specified by:
getGroupsin interfaceCfnLaunchTemplate.NetworkInterfaceProperty- See Also:
-
getInterfaceType
Description copied from interface:CfnLaunchTemplate.NetworkInterfacePropertyThe type of network interface.To create an Elastic Fabric Adapter (EFA), specify
efaorefa. For more information, see Elastic Fabric Adapter for AI/ML and HPC workloads on Amazon EC2 in the Amazon EC2 User Guide .If you are not creating an EFA, specify
interfaceor omit this parameter.If you specify
efa-only, do not assign any IP addresses to the network interface. EFA-only network interfaces do not support IP addresses.Valid values:
interface|efa|efa-only- Specified by:
getInterfaceTypein interfaceCfnLaunchTemplate.NetworkInterfaceProperty- See Also:
-
getIpv4PrefixCount
Description copied from interface:CfnLaunchTemplate.NetworkInterfacePropertyThe number of IPv4 prefixes to be automatically assigned to the network interface.You cannot use this option if you use the
Ipv4Prefixoption.- Specified by:
getIpv4PrefixCountin interfaceCfnLaunchTemplate.NetworkInterfaceProperty- See Also:
-
getIpv4Prefixes
Description copied from interface:CfnLaunchTemplate.NetworkInterfacePropertyOne or more IPv4 prefixes to be assigned to the network interface.You cannot use this option if you use the
Ipv4PrefixCountoption.Returns union: either
IResolvableor Listinvalid input: '<'eitherIResolvableorCfnLaunchTemplate.Ipv4PrefixSpecificationProperty>- Specified by:
getIpv4Prefixesin interfaceCfnLaunchTemplate.NetworkInterfaceProperty- See Also:
-
getIpv6AddressCount
Description copied from interface:CfnLaunchTemplate.NetworkInterfacePropertyThe 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.
- Specified by:
getIpv6AddressCountin interfaceCfnLaunchTemplate.NetworkInterfaceProperty- See Also:
-
getIpv6Addresses
Description copied from interface:CfnLaunchTemplate.NetworkInterfacePropertyOne 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.
Returns union: either
IResolvableor Listinvalid input: '<'eitherIResolvableorCfnLaunchTemplate.Ipv6AddProperty>- Specified by:
getIpv6Addressesin interfaceCfnLaunchTemplate.NetworkInterfaceProperty- See Also:
-
getIpv6PrefixCount
Description copied from interface:CfnLaunchTemplate.NetworkInterfacePropertyThe number of IPv6 prefixes to be automatically assigned to the network interface.You cannot use this option if you use the
Ipv6Prefixoption.- Specified by:
getIpv6PrefixCountin interfaceCfnLaunchTemplate.NetworkInterfaceProperty- See Also:
-
getIpv6Prefixes
Description copied from interface:CfnLaunchTemplate.NetworkInterfacePropertyOne or more IPv6 prefixes to be assigned to the network interface.You cannot use this option if you use the
Ipv6PrefixCountoption.Returns union: either
IResolvableor Listinvalid input: '<'eitherIResolvableorCfnLaunchTemplate.Ipv6PrefixSpecificationProperty>- Specified by:
getIpv6Prefixesin interfaceCfnLaunchTemplate.NetworkInterfaceProperty- See Also:
-
getNetworkCardIndex
Description copied from interface:CfnLaunchTemplate.NetworkInterfacePropertyThe 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.
- Specified by:
getNetworkCardIndexin interfaceCfnLaunchTemplate.NetworkInterfaceProperty- See Also:
-
getNetworkInterfaceId
Description copied from interface:CfnLaunchTemplate.NetworkInterfacePropertyThe ID of the network interface.- Specified by:
getNetworkInterfaceIdin interfaceCfnLaunchTemplate.NetworkInterfaceProperty- See Also:
-
getPrimaryIpv6
Description copied from interface:CfnLaunchTemplate.NetworkInterfacePropertyThe primary IPv6 address of the network interface.When you enable an IPv6 GUA address to be a primary IPv6, the first IPv6 GUA will be made the primary IPv6 address until the instance is terminated or the network interface is detached. For more information about primary IPv6 addresses, see RunInstances .
Returns union: either
BooleanorIResolvable- Specified by:
getPrimaryIpv6in interfaceCfnLaunchTemplate.NetworkInterfaceProperty- See Also:
-
getPrivateIpAddress
Description copied from interface:CfnLaunchTemplate.NetworkInterfacePropertyThe primary private IPv4 address of the network interface.- Specified by:
getPrivateIpAddressin interfaceCfnLaunchTemplate.NetworkInterfaceProperty- See Also:
-
getPrivateIpAddresses
Description copied from interface:CfnLaunchTemplate.NetworkInterfacePropertyOne or more private IPv4 addresses.Returns union: either
IResolvableor Listinvalid input: '<'eitherIResolvableorCfnLaunchTemplate.PrivateIpAddProperty>- Specified by:
getPrivateIpAddressesin interfaceCfnLaunchTemplate.NetworkInterfaceProperty- See Also:
-
getSecondaryPrivateIpAddressCount
Description copied from interface:CfnLaunchTemplate.NetworkInterfacePropertyThe number of secondary private IPv4 addresses to assign to a network interface.- Specified by:
getSecondaryPrivateIpAddressCountin interfaceCfnLaunchTemplate.NetworkInterfaceProperty- See Also:
-
getSubnetId
Description copied from interface:CfnLaunchTemplate.NetworkInterfacePropertyThe ID of the subnet for the network interface.- Specified by:
getSubnetIdin interfaceCfnLaunchTemplate.NetworkInterfaceProperty- See Also:
-
$jsii$toJson
@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()- Specified by:
$jsii$toJsonin interfacesoftware.amazon.jsii.JsiiSerializable
-
equals
-
hashCode
public final int hashCode()
-