Class CfnInstance.NetworkInterfaceProperty.Jsii$Proxy
- All Implemented Interfaces:
CfnInstance.NetworkInterfaceProperty,software.amazon.jsii.JsiiSerializable
- Enclosing interface:
CfnInstance.NetworkInterfaceProperty
CfnInstance.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.CfnInstance.NetworkInterfaceProperty
CfnInstance.NetworkInterfaceProperty.Builder, CfnInstance.NetworkInterfaceProperty.Jsii$Proxy -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedConstructor that initializes the object based on literal property values passed by theCfnInstance.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 ObjectIndicates whether to assign a carrier IP address to the network interface.final ObjectIndicates whether to assign a public IPv4 address to an instance.final ObjectIndicates whether the network interface is deleted when the instance is terminated.final StringThe description of the network interface.final StringThe position of the network interface in the attachment order.final ObjectConfigures ENA Express for UDP network traffic.The IDs of the security groups for the network interface.final NumberA number of IPv6 addresses to assign to the network interface.final ObjectThe IPv6 addresses to assign to the network interface.final StringThe ID of the network interface, when attaching an existing network interface.final StringThe private IPv4 address of the network interface.final ObjectOne or more private IPv4 addresses to assign to the network interface.final NumberThe number of secondary private IPv4 addresses.final StringThe ID of the subnet associated with 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 theCfnInstance.NetworkInterfaceProperty.Builder.
-
-
Method Details
-
getDeviceIndex
Description copied from interface:CfnInstance.NetworkInterfacePropertyThe position of the network interface in the attachment order.A primary network interface has a device index of 0.
If you create a network interface when launching an instance, you must specify the device index.
- Specified by:
getDeviceIndexin interfaceCfnInstance.NetworkInterfaceProperty- See Also:
-
getAssociateCarrierIpAddress
Description copied from interface:CfnInstance.NetworkInterfacePropertyIndicates whether to assign a carrier IP address to the network interface.You can only assign a carrier IP address to a network interface that is in a subnet in a Wavelength Zone. For more information about carrier IP addresses, see Carrier IP address in the AWS Wavelength Developer Guide .
Returns union: either
BooleanorIResolvable- Specified by:
getAssociateCarrierIpAddressin interfaceCfnInstance.NetworkInterfaceProperty- See Also:
-
getAssociatePublicIpAddress
Description copied from interface:CfnInstance.NetworkInterfacePropertyIndicates whether to assign a public IPv4 address to an instance.Applies only if creating a network interface when launching an instance. The network interface must be the primary network interface. If launching into a default subnet, the default value is
true.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 VPC pricing page .
Returns union: either
BooleanorIResolvable- Specified by:
getAssociatePublicIpAddressin interfaceCfnInstance.NetworkInterfaceProperty- See Also:
-
getDeleteOnTermination
Description copied from interface:CfnInstance.NetworkInterfacePropertyIndicates whether the network interface is deleted when the instance is terminated.Applies only if creating a network interface when launching an instance.
Returns union: either
BooleanorIResolvable- Specified by:
getDeleteOnTerminationin interfaceCfnInstance.NetworkInterfaceProperty- See Also:
-
getDescription
Description copied from interface:CfnInstance.NetworkInterfacePropertyThe description of the network interface.Applies only if creating a network interface when launching an instance.
- Specified by:
getDescriptionin interfaceCfnInstance.NetworkInterfaceProperty- See Also:
-
getEnaSrdSpecification
Description copied from interface:CfnInstance.NetworkInterfacePropertyConfigures ENA Express for UDP network traffic.Returns union: either
IResolvableorCfnInstance.EnaSrdSpecificationProperty- Specified by:
getEnaSrdSpecificationin interfaceCfnInstance.NetworkInterfaceProperty- See Also:
-
getGroupSet
Description copied from interface:CfnInstance.NetworkInterfacePropertyThe IDs of the security groups for the network interface.Applies only if creating a network interface when launching an instance.
- Specified by:
getGroupSetin interfaceCfnInstance.NetworkInterfaceProperty- See Also:
-
getIpv6AddressCount
Description copied from interface:CfnInstance.NetworkInterfacePropertyA number of IPv6 addresses to assign to the network interface.Amazon EC2 chooses the IPv6 addresses from the range of the subnet. You cannot specify this option and the option to assign specific IPv6 addresses in the same request. You can specify this option if you've specified a minimum number of instances to launch.
- Specified by:
getIpv6AddressCountin interfaceCfnInstance.NetworkInterfaceProperty- See Also:
-
getIpv6Addresses
Description copied from interface:CfnInstance.NetworkInterfacePropertyThe IPv6 addresses to assign to the network interface.You cannot specify this option and the option to assign a number of IPv6 addresses in the same request. You cannot specify this option if you've specified a minimum number of instances to launch.
Returns union: either
IResolvableor Listinvalid input: '<'eitherIResolvableorCfnInstance.InstanceIpv6AddressProperty>- Specified by:
getIpv6Addressesin interfaceCfnInstance.NetworkInterfaceProperty- See Also:
-
getNetworkInterfaceId
Description copied from interface:CfnInstance.NetworkInterfacePropertyThe ID of the network interface, when attaching an existing network interface.- Specified by:
getNetworkInterfaceIdin interfaceCfnInstance.NetworkInterfaceProperty- See Also:
-
getPrivateIpAddress
Description copied from interface:CfnInstance.NetworkInterfacePropertyThe private IPv4 address of the network interface.Applies only if creating a network interface when launching an instance.
- Specified by:
getPrivateIpAddressin interfaceCfnInstance.NetworkInterfaceProperty- See Also:
-
getPrivateIpAddresses
Description copied from interface:CfnInstance.NetworkInterfacePropertyOne or more private IPv4 addresses to assign to the network interface.Only one private IPv4 address can be designated as primary.
Returns union: either
IResolvableor Listinvalid input: '<'eitherIResolvableorCfnInstance.PrivateIpAddressSpecificationProperty>- Specified by:
getPrivateIpAddressesin interfaceCfnInstance.NetworkInterfaceProperty- See Also:
-
getSecondaryPrivateIpAddressCount
Description copied from interface:CfnInstance.NetworkInterfacePropertyThe number of secondary private IPv4 addresses.You can't specify this option and specify more than one private IP address using the private IP addresses option.
- Specified by:
getSecondaryPrivateIpAddressCountin interfaceCfnInstance.NetworkInterfaceProperty- See Also:
-
getSubnetId
Description copied from interface:CfnInstance.NetworkInterfacePropertyThe ID of the subnet associated with the network interface.- Specified by:
getSubnetIdin interfaceCfnInstance.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()
-