Class CfnLaunchTemplatePropsMixin.NetworkInterfaceProperty.Jsii$Proxy
- All Implemented Interfaces:
CfnLaunchTemplatePropsMixin.NetworkInterfaceProperty,software.amazon.jsii.JsiiSerializable
- Enclosing interface:
CfnLaunchTemplatePropsMixin.NetworkInterfaceProperty
CfnLaunchTemplatePropsMixin.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.cfnpropertymixins.services.ec2.CfnLaunchTemplatePropsMixin.NetworkInterfaceProperty
CfnLaunchTemplatePropsMixin.NetworkInterfaceProperty.Builder, CfnLaunchTemplatePropsMixin.NetworkInterfaceProperty.Jsii$Proxy -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedConstructor that initializes the object based on literal property values passed by theCfnLaunchTemplatePropsMixin.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 ObjectThe 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 ObjectThe 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 theCfnLaunchTemplatePropsMixin.NetworkInterfaceProperty.Builder.
-
-
Method Details
-
getAssociateCarrierIpAddress
Description copied from interface:CfnLaunchTemplatePropsMixin.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 interfaceCfnLaunchTemplatePropsMixin.NetworkInterfaceProperty- See Also:
-
getAssociatePublicIpAddress
Description copied from interface:CfnLaunchTemplatePropsMixin.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 interfaceCfnLaunchTemplatePropsMixin.NetworkInterfaceProperty- See Also:
-
getConnectionTrackingSpecification
Description copied from interface:CfnLaunchTemplatePropsMixin.NetworkInterfacePropertyA connection tracking specification for the network interface.Returns union: either
IResolvableorCfnLaunchTemplatePropsMixin.ConnectionTrackingSpecificationProperty- Specified by:
getConnectionTrackingSpecificationin interfaceCfnLaunchTemplatePropsMixin.NetworkInterfaceProperty- See Also:
-
getDeleteOnTermination
Description copied from interface:CfnLaunchTemplatePropsMixin.NetworkInterfacePropertyIndicates whether the network interface is deleted when the instance is terminated.Returns union: either
BooleanorIResolvable- Specified by:
getDeleteOnTerminationin interfaceCfnLaunchTemplatePropsMixin.NetworkInterfaceProperty- See Also:
-
getDescription
Description copied from interface:CfnLaunchTemplatePropsMixin.NetworkInterfacePropertyA description for the network interface.- Specified by:
getDescriptionin interfaceCfnLaunchTemplatePropsMixin.NetworkInterfaceProperty- See Also:
-
getDeviceIndex
Description copied from interface:CfnLaunchTemplatePropsMixin.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 interfaceCfnLaunchTemplatePropsMixin.NetworkInterfaceProperty- See Also:
-
getEnaQueueCount
Description copied from interface:CfnLaunchTemplatePropsMixin.NetworkInterfacePropertyThe number of ENA queues to be created with the instance.- Specified by:
getEnaQueueCountin interfaceCfnLaunchTemplatePropsMixin.NetworkInterfaceProperty- See Also:
-
getEnaSrdSpecification
Description copied from interface:CfnLaunchTemplatePropsMixin.NetworkInterfacePropertyThe ENA Express configuration for the network interface.Returns union: either
IResolvableorCfnLaunchTemplatePropsMixin.EnaSrdSpecificationProperty- Specified by:
getEnaSrdSpecificationin interfaceCfnLaunchTemplatePropsMixin.NetworkInterfaceProperty- See Also:
-
getGroups
Description copied from interface:CfnLaunchTemplatePropsMixin.NetworkInterfacePropertyThe IDs of one or more security groups.Returns union: Listinvalid input: '<'either
StringorISecurityGroupRef>- Specified by:
getGroupsin interfaceCfnLaunchTemplatePropsMixin.NetworkInterfaceProperty- See Also:
-
getInterfaceType
Description copied from interface:CfnLaunchTemplatePropsMixin.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 interfaceCfnLaunchTemplatePropsMixin.NetworkInterfaceProperty- See Also:
-
getIpv4PrefixCount
Description copied from interface:CfnLaunchTemplatePropsMixin.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 interfaceCfnLaunchTemplatePropsMixin.NetworkInterfaceProperty- See Also:
-
getIpv4Prefixes
Description copied from interface:CfnLaunchTemplatePropsMixin.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: '<'eitherIResolvableorCfnLaunchTemplatePropsMixin.Ipv4PrefixSpecificationProperty>- Specified by:
getIpv4Prefixesin interfaceCfnLaunchTemplatePropsMixin.NetworkInterfaceProperty- See Also:
-
getIpv6AddressCount
Description copied from interface:CfnLaunchTemplatePropsMixin.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 interfaceCfnLaunchTemplatePropsMixin.NetworkInterfaceProperty- See Also:
-
getIpv6Addresses
Description copied from interface:CfnLaunchTemplatePropsMixin.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: '<'eitherIResolvableorCfnLaunchTemplatePropsMixin.Ipv6AddProperty>- Specified by:
getIpv6Addressesin interfaceCfnLaunchTemplatePropsMixin.NetworkInterfaceProperty- See Also:
-
getIpv6PrefixCount
Description copied from interface:CfnLaunchTemplatePropsMixin.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 interfaceCfnLaunchTemplatePropsMixin.NetworkInterfaceProperty- See Also:
-
getIpv6Prefixes
Description copied from interface:CfnLaunchTemplatePropsMixin.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: '<'eitherIResolvableorCfnLaunchTemplatePropsMixin.Ipv6PrefixSpecificationProperty>- Specified by:
getIpv6Prefixesin interfaceCfnLaunchTemplatePropsMixin.NetworkInterfaceProperty- See Also:
-
getNetworkCardIndex
Description copied from interface:CfnLaunchTemplatePropsMixin.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 interfaceCfnLaunchTemplatePropsMixin.NetworkInterfaceProperty- See Also:
-
getNetworkInterfaceId
Description copied from interface:CfnLaunchTemplatePropsMixin.NetworkInterfacePropertyThe ID of the network interface.Returns union: either
StringorINetworkInterfaceRef- Specified by:
getNetworkInterfaceIdin interfaceCfnLaunchTemplatePropsMixin.NetworkInterfaceProperty- See Also:
-
getPrimaryIpv6
Description copied from interface:CfnLaunchTemplatePropsMixin.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 interfaceCfnLaunchTemplatePropsMixin.NetworkInterfaceProperty- See Also:
-
getPrivateIpAddress
Description copied from interface:CfnLaunchTemplatePropsMixin.NetworkInterfacePropertyThe primary private IPv4 address of the network interface.- Specified by:
getPrivateIpAddressin interfaceCfnLaunchTemplatePropsMixin.NetworkInterfaceProperty- See Also:
-
getPrivateIpAddresses
Description copied from interface:CfnLaunchTemplatePropsMixin.NetworkInterfacePropertyOne or more private IPv4 addresses.Returns union: either
IResolvableor Listinvalid input: '<'eitherIResolvableorCfnLaunchTemplatePropsMixin.PrivateIpAddProperty>- Specified by:
getPrivateIpAddressesin interfaceCfnLaunchTemplatePropsMixin.NetworkInterfaceProperty- See Also:
-
getSecondaryPrivateIpAddressCount
Description copied from interface:CfnLaunchTemplatePropsMixin.NetworkInterfacePropertyThe number of secondary private IPv4 addresses to assign to a network interface.- Specified by:
getSecondaryPrivateIpAddressCountin interfaceCfnLaunchTemplatePropsMixin.NetworkInterfaceProperty- See Also:
-
getSubnetId
Description copied from interface:CfnLaunchTemplatePropsMixin.NetworkInterfacePropertyThe ID of the subnet for the network interface.Returns union: either
StringorISubnetRef- Specified by:
getSubnetIdin interfaceCfnLaunchTemplatePropsMixin.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()
-