Class NatGatewayProps.Jsii$Proxy
- All Implemented Interfaces:
NatGatewayOptions,NatGatewayProps,software.amazon.jsii.JsiiSerializable
- Enclosing interface:
NatGatewayProps
NatGatewayProps-
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.alpha.NatGatewayProps
NatGatewayProps.Builder, NatGatewayProps.Jsii$Proxy -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedJsii$Proxy(NatGatewayProps.Builder builder) Constructor that initializes the object based on literal property values passed by theNatGatewayProps.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 String(experimental) AllocationID of Elastic IP address that's associated with the NAT gateway.final NatConnectivityType(experimental) Indicates whether the NAT gateway supports public or private connectivity.final Duration(experimental) The maximum amount of time to wait before forcibly releasing the IP addresses if connections are still in progress.final String(experimental) The resource name of the NAT gateway.final String(experimental) The private IPv4 address to assign to the NAT gateway.(experimental) Secondary EIP allocation IDs.final Number(experimental) The number of secondary private IPv4 addresses you want to assign to the NAT gateway.(experimental) Secondary private IPv4 addresses.final ISubnetV2(experimental) The subnet in which the NAT gateway is located.final IVpcV2getVpc()(experimental) The ID of the VPC in which the NAT gateway is located.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 theNatGatewayProps.Builder.
-
-
Method Details
-
getVpc
Description copied from interface:NatGatewayProps(experimental) The ID of the VPC in which the NAT gateway is located.Default: - no elastic ip associated, required in case of public connectivity if `AllocationId` is not defined
- Specified by:
getVpcin interfaceNatGatewayProps
-
getSubnet
Description copied from interface:NatGatewayOptions(experimental) The subnet in which the NAT gateway is located.- Specified by:
getSubnetin interfaceNatGatewayOptions
-
getAllocationId
Description copied from interface:NatGatewayOptions(experimental) AllocationID of Elastic IP address that's associated with the NAT gateway.This property is required for a public NAT gateway and cannot be specified with a private NAT gateway.
Default: - attr.allocationID of a new Elastic IP created by default //TODO: ADD L2 for elastic ip
- Specified by:
getAllocationIdin interfaceNatGatewayOptions
-
getConnectivityType
Description copied from interface:NatGatewayOptions(experimental) Indicates whether the NAT gateway supports public or private connectivity.Default: NatConnectivityType.Public
- Specified by:
getConnectivityTypein interfaceNatGatewayOptions
-
getMaxDrainDuration
Description copied from interface:NatGatewayOptions(experimental) The maximum amount of time to wait before forcibly releasing the IP addresses if connections are still in progress.Default: 350seconds
- Specified by:
getMaxDrainDurationin interfaceNatGatewayOptions
-
getNatGatewayName
Description copied from interface:NatGatewayOptions(experimental) The resource name of the NAT gateway.Default: - NATGW provisioned without any name
- Specified by:
getNatGatewayNamein interfaceNatGatewayOptions
-
getPrivateIpAddress
Description copied from interface:NatGatewayOptions(experimental) The private IPv4 address to assign to the NAT gateway.Default: - If you don't provide an address, a private IPv4 address will be automatically assigned.
- Specified by:
getPrivateIpAddressin interfaceNatGatewayOptions
-
getSecondaryAllocationIds
Description copied from interface:NatGatewayOptions(experimental) Secondary EIP allocation IDs.Default: - no secondary allocation IDs attached to NATGW
- Specified by:
getSecondaryAllocationIdsin interfaceNatGatewayOptions- See Also:
-
getSecondaryPrivateIpAddressCount
Description copied from interface:NatGatewayOptions(experimental) The number of secondary private IPv4 addresses you want to assign to the NAT gateway.SecondaryPrivateIpAddressCountandSecondaryPrivateIpAddressescannot be set at the same time.Default: - no secondary allocation IDs associated with NATGW
- Specified by:
getSecondaryPrivateIpAddressCountin interfaceNatGatewayOptions- See Also:
-
getSecondaryPrivateIpAddresses
Description copied from interface:NatGatewayOptions(experimental) Secondary private IPv4 addresses.SecondaryPrivateIpAddressCountandSecondaryPrivateIpAddressescannot be set at the same time.Default: - no secondary private IpAddresses associated with NATGW
- Specified by:
getSecondaryPrivateIpAddressesin interfaceNatGatewayOptions- 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()
-