@Generated(value="jsii-pacmak/1.30.0 (build adae23f)", date="2021-06-30T10:01:06.671Z") @Stability(value=Experimental) public class PublicSubnet extends Subnet implements IPublicSubnet
| Modifier and Type | Class and Description |
|---|---|
static class |
PublicSubnet.Builder
(experimental) A fluent builder for
PublicSubnet. |
software.amazon.jsii.JsiiObject.InitializationModeIPublicSubnet.Jsii$Default, IPublicSubnet.Jsii$Proxy| Modifier | Constructor and Description |
|---|---|
|
PublicSubnet(software.constructs.Construct scope,
String id,
PublicSubnetProps props) |
protected |
PublicSubnet(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) |
protected |
PublicSubnet(software.amazon.jsii.JsiiObjectRef objRef) |
| Modifier and Type | Method and Description |
|---|---|
CfnNatGateway |
addNatGateway()
(experimental) Creates a new managed NAT gateway attached to this public subnet.
|
static IPublicSubnet |
fromPublicSubnetAttributes(software.constructs.Construct scope,
String id,
PublicSubnetAttributes attrs) |
addDefaultInternetRoute, addDefaultNatRoute, addRoute, associateNetworkAcl, fromSubnetAttributes, fromSubnetId, getAvailabilityZone, getDependencyElements, getInternetConnectivityEstablished, getIpv4CidrBlock, getNetworkAcl, getRouteTable, getSubnetAvailabilityZone, getSubnetId, getSubnetIpv6CidrBlocks, getSubnetNetworkAclAssociationId, getSubnetOutpostArn, getSubnetVpcId, isVpcSubnetapplyRemovalPolicy, generatePhysicalName, getEnv, getPhysicalName, getResourceArnAttribute, getResourceNameAttribute, getStack, isResourcejsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitassociateNetworkAcl, getAvailabilityZone, getInternetConnectivityEstablished, getIpv4CidrBlock, getRouteTable, getSubnetIdprotected PublicSubnet(software.amazon.jsii.JsiiObjectRef objRef)
protected PublicSubnet(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
@Stability(value=Experimental)
public PublicSubnet(@NotNull
software.constructs.Construct scope,
@NotNull
String id,
@NotNull
PublicSubnetProps props)
scope - This parameter is required.id - This parameter is required.props - This parameter is required.@Stability(value=Experimental) @NotNull public static IPublicSubnet fromPublicSubnetAttributes(@NotNull software.constructs.Construct scope, @NotNull String id, @NotNull PublicSubnetAttributes attrs)
scope - This parameter is required.id - This parameter is required.attrs - This parameter is required.@Stability(value=Experimental) @NotNull public CfnNatGateway addNatGateway()
Also adds the EIP for the managed NAT.
Copyright © 2021. All rights reserved.