@Internal public static final class IVpc.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements IVpc.Jsii$Default
software.amazon.jsii.JsiiObject.InitializationModeIVpc.Jsii$Default, IVpc.Jsii$Proxy| Modifier | Constructor and Description |
|---|---|
protected |
Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef) |
| Modifier and Type | Method and Description |
|---|---|
ClientVpnEndpoint |
addClientVpnEndpoint(String id,
ClientVpnEndpointOptions options)
Adds a new client VPN endpoint to this VPC.
|
FlowLog |
addFlowLog(String id)
Adds a new Flow Log to this VPC.
|
FlowLog |
addFlowLog(String id,
FlowLogOptions options)
Adds a new Flow Log to this VPC.
|
GatewayVpcEndpoint |
addGatewayEndpoint(String id,
GatewayVpcEndpointOptions options)
Adds a new gateway endpoint to this VPC.
|
InterfaceVpcEndpoint |
addInterfaceEndpoint(String id,
InterfaceVpcEndpointOptions options)
Adds a new interface endpoint to this VPC.
|
VpnConnection |
addVpnConnection(String id,
VpnConnectionOptions options)
Adds a new VPN connection to this VPC.
|
void |
applyRemovalPolicy(RemovalPolicy policy)
Apply the given removal policy to this resource.
|
void |
enableVpnGateway(EnableVpnGatewayOptions options)
Adds a VPN Gateway to this VPC.
|
List<String> |
getAvailabilityZones()
AZs for this VPC.
|
ResourceEnvironment |
getEnv()
The environment this resource belongs to.
|
software.constructs.IDependable |
getInternetConnectivityEstablished()
Dependable that can be depended upon to force internet connectivity established on the VPC.
|
List<ISubnet> |
getIsolatedSubnets()
List of isolated subnets in this VPC.
|
software.constructs.Node |
getNode()
The tree node.
|
List<ISubnet> |
getPrivateSubnets()
List of private subnets in this VPC.
|
List<ISubnet> |
getPublicSubnets()
List of public subnets in this VPC.
|
Stack |
getStack()
The stack in which this resource is defined.
|
String |
getVpcArn()
ARN for this VPC.
|
String |
getVpcCidrBlock()
CIDR range for this VPC.
|
String |
getVpcId()
Identifier for this VPC.
|
String |
getVpnGatewayId()
Identifier for the VPN gateway.
|
SelectedSubnets |
selectSubnets()
Return information on the subnets appropriate for the given selection strategy.
|
SelectedSubnets |
selectSubnets(SubnetSelection selection)
Return information on the subnets appropriate for the given selection strategy.
|
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet@Stability(value=Stable) @NotNull public final software.constructs.Node getNode()
getNode in interface IResource.Jsii$DefaultgetNode in interface IVpc.Jsii$DefaultgetNode in interface software.constructs.IConstructgetNode in interface software.constructs.IConstruct.Jsii$Default@Stability(value=Stable) @NotNull public final ResourceEnvironment getEnv()
For resources that are created and managed by the CDK (generally, those created by creating new class instances like Role, Bucket, etc.), this is always the same as the environment of the stack they belong to; however, for imported resources (those obtained from static methods like fromRoleArn, fromBucketName, etc.), that might be different than the stack they were imported into.
getEnv in interface IResourcegetEnv in interface IResource.Jsii$DefaultgetEnv in interface IVpc.Jsii$Default@Stability(value=Stable) @NotNull public final Stack getStack()
getStack in interface IResourcegetStack in interface IResource.Jsii$DefaultgetStack in interface IVpc.Jsii$Default@Stability(value=Stable) @NotNull public final List<String> getAvailabilityZones()
getAvailabilityZones in interface IVpcgetAvailabilityZones in interface IVpc.Jsii$Default@Stability(value=Stable) @NotNull public final software.constructs.IDependable getInternetConnectivityEstablished()
getInternetConnectivityEstablished in interface IVpcgetInternetConnectivityEstablished in interface IVpc.Jsii$Default@Stability(value=Stable) @NotNull public final List<ISubnet> getIsolatedSubnets()
getIsolatedSubnets in interface IVpcgetIsolatedSubnets in interface IVpc.Jsii$Default@Stability(value=Stable) @NotNull public final List<ISubnet> getPrivateSubnets()
getPrivateSubnets in interface IVpcgetPrivateSubnets in interface IVpc.Jsii$Default@Stability(value=Stable) @NotNull public final List<ISubnet> getPublicSubnets()
getPublicSubnets in interface IVpcgetPublicSubnets in interface IVpc.Jsii$Default@Stability(value=Stable) @NotNull public final String getVpcArn()
getVpcArn in interface IVpcgetVpcArn in interface IVpc.Jsii$Default@Stability(value=Stable) @NotNull public final String getVpcCidrBlock()
getVpcCidrBlock in interface IVpcgetVpcCidrBlock in interface IVpc.Jsii$Default@Stability(value=Stable) @NotNull public final String getVpcId()
getVpcId in interface IVpcgetVpcId in interface IVpc.Jsii$Default@Stability(value=Stable) @Nullable public final String getVpnGatewayId()
getVpnGatewayId in interface IVpcgetVpnGatewayId in interface IVpc.Jsii$Default@Stability(value=Stable)
public final void applyRemovalPolicy(@NotNull
RemovalPolicy policy)
The Removal Policy controls what happens to this resource when it stops being managed by CloudFormation, either because you've removed it from the CDK application or because you've made a change that requires the resource to be replaced.
The resource can be deleted (RemovalPolicy.DESTROY), or left in your AWS
account for data recovery and cleanup later (RemovalPolicy.RETAIN).
applyRemovalPolicy in interface IResourceapplyRemovalPolicy in interface IResource.Jsii$DefaultapplyRemovalPolicy in interface IVpc.Jsii$Defaultpolicy - This parameter is required.@Stability(value=Stable) @NotNull public final ClientVpnEndpoint addClientVpnEndpoint(@NotNull String id, @NotNull ClientVpnEndpointOptions options)
addClientVpnEndpoint in interface IVpcaddClientVpnEndpoint in interface IVpc.Jsii$Defaultid - This parameter is required.options - This parameter is required.@Stability(value=Stable) @NotNull public final FlowLog addFlowLog(@NotNull String id, @Nullable FlowLogOptions options)
addFlowLog in interface IVpcaddFlowLog in interface IVpc.Jsii$Defaultid - This parameter is required.options - @Stability(value=Stable) @NotNull public final FlowLog addFlowLog(@NotNull String id)
addFlowLog in interface IVpcid - This parameter is required.@Stability(value=Stable) @NotNull public final GatewayVpcEndpoint addGatewayEndpoint(@NotNull String id, @NotNull GatewayVpcEndpointOptions options)
addGatewayEndpoint in interface IVpcaddGatewayEndpoint in interface IVpc.Jsii$Defaultid - This parameter is required.options - This parameter is required.@Stability(value=Stable) @NotNull public final InterfaceVpcEndpoint addInterfaceEndpoint(@NotNull String id, @NotNull InterfaceVpcEndpointOptions options)
addInterfaceEndpoint in interface IVpcaddInterfaceEndpoint in interface IVpc.Jsii$Defaultid - This parameter is required.options - This parameter is required.@Stability(value=Stable) @NotNull public final VpnConnection addVpnConnection(@NotNull String id, @NotNull VpnConnectionOptions options)
addVpnConnection in interface IVpcaddVpnConnection in interface IVpc.Jsii$Defaultid - This parameter is required.options - This parameter is required.@Stability(value=Stable)
public final void enableVpnGateway(@NotNull
EnableVpnGatewayOptions options)
enableVpnGateway in interface IVpcenableVpnGateway in interface IVpc.Jsii$Defaultoptions - This parameter is required.@Stability(value=Stable) @NotNull public final SelectedSubnets selectSubnets(@Nullable SubnetSelection selection)
Requires that at least one subnet is matched, throws a descriptive error message otherwise.
selectSubnets in interface IVpcselectSubnets in interface IVpc.Jsii$Defaultselection - @Stability(value=Stable) @NotNull public final SelectedSubnets selectSubnets()
Requires that at least one subnet is matched, throws a descriptive error message otherwise.
selectSubnets in interface IVpcCopyright © 2022. All rights reserved.