Class IVpc.Jsii$Proxy
- All Implemented Interfaces:
IConstruct
,IConstruct.Jsii$Default
,IDependable
,IDependable.Jsii$Default
,IResource
,IResource.Jsii$Default
,IVpc
,IVpc.Jsii$Default
,software.amazon.jsii.JsiiSerializable
,software.constructs.IConstruct
,software.constructs.IConstruct.Jsii$Default
- Enclosing interface:
- IVpc
-
Nested Class Summary
Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationMode
Nested classes/interfaces inherited from interface software.amazon.awscdk.core.IConstruct
IConstruct.Jsii$Default, IConstruct.Jsii$Proxy
Nested classes/interfaces inherited from interface software.constructs.IConstruct
software.constructs.IConstruct.Jsii$Default, software.constructs.IConstruct.Jsii$Proxy
Nested classes/interfaces inherited from interface software.amazon.awscdk.core.IDependable
IDependable.Jsii$Default, IDependable.Jsii$Proxy
Nested classes/interfaces inherited from interface software.amazon.awscdk.core.IResource
IResource.Jsii$Default, IResource.Jsii$Proxy
Nested classes/interfaces inherited from interface software.amazon.awscdk.services.ec2.IVpc
IVpc.Jsii$Default, IVpc.Jsii$Proxy
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionfinal ClientVpnEndpoint
addClientVpnEndpoint
(String id, ClientVpnEndpointOptions options) Adds a new client VPN endpoint to this VPC.final FlowLog
addFlowLog
(String id) Adds a new Flow Log to this VPC.final FlowLog
addFlowLog
(String id, FlowLogOptions options) Adds a new Flow Log to this VPC.final GatewayVpcEndpoint
addGatewayEndpoint
(String id, GatewayVpcEndpointOptions options) Adds a new gateway endpoint to this VPC.final InterfaceVpcEndpoint
addInterfaceEndpoint
(String id, InterfaceVpcEndpointOptions options) Adds a new interface endpoint to this VPC.final VpnConnection
addVpnConnection
(String id, VpnConnectionOptions options) Adds a new VPN connection to this VPC.final void
applyRemovalPolicy
(RemovalPolicy policy) Apply the given removal policy to this resource.final void
enableVpnGateway
(EnableVpnGatewayOptions options) Adds a VPN Gateway to this VPC.AZs for this VPC.final ResourceEnvironment
getEnv()
The environment this resource belongs to.final IDependable
Dependable that can be depended upon to force internet connectivity established on the VPC.List of isolated subnets in this VPC.final ConstructNode
getNode()
The construct tree node for this construct.List of private subnets in this VPC.List of public subnets in this VPC.final Stack
getStack()
The stack in which this resource is defined.final String
ARN for this VPC.final String
CIDR range for this VPC.final String
getVpcId()
Identifier for this VPC.final String
Identifier for the VPN gateway.final SelectedSubnets
Return information on the subnets appropriate for the given selection strategy.final SelectedSubnets
selectSubnets
(SubnetSelection selection) Return information on the subnets appropriate for the given selection strategy.Methods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Constructor Details
-
Jsii$Proxy
protected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
-
-
Method Details
-
getNode
The construct tree node for this construct.- Specified by:
getNode
in interfaceIConstruct
- Specified by:
getNode
in interfaceIConstruct.Jsii$Default
- Specified by:
getNode
in interfaceIResource.Jsii$Default
- Specified by:
getNode
in interfaceIVpc.Jsii$Default
-
getEnv
The environment this resource belongs to.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.
- Specified by:
getEnv
in interfaceIResource
- Specified by:
getEnv
in interfaceIResource.Jsii$Default
- Specified by:
getEnv
in interfaceIVpc.Jsii$Default
-
getStack
The stack in which this resource is defined.- Specified by:
getStack
in interfaceIResource
- Specified by:
getStack
in interfaceIResource.Jsii$Default
- Specified by:
getStack
in interfaceIVpc.Jsii$Default
-
getAvailabilityZones
AZs for this VPC.- Specified by:
getAvailabilityZones
in interfaceIVpc
- Specified by:
getAvailabilityZones
in interfaceIVpc.Jsii$Default
-
getInternetConnectivityEstablished
Dependable that can be depended upon to force internet connectivity established on the VPC.- Specified by:
getInternetConnectivityEstablished
in interfaceIVpc
- Specified by:
getInternetConnectivityEstablished
in interfaceIVpc.Jsii$Default
-
getIsolatedSubnets
List of isolated subnets in this VPC.- Specified by:
getIsolatedSubnets
in interfaceIVpc
- Specified by:
getIsolatedSubnets
in interfaceIVpc.Jsii$Default
-
getPrivateSubnets
List of private subnets in this VPC.- Specified by:
getPrivateSubnets
in interfaceIVpc
- Specified by:
getPrivateSubnets
in interfaceIVpc.Jsii$Default
-
getPublicSubnets
List of public subnets in this VPC.- Specified by:
getPublicSubnets
in interfaceIVpc
- Specified by:
getPublicSubnets
in interfaceIVpc.Jsii$Default
-
getVpcArn
ARN for this VPC.- Specified by:
getVpcArn
in interfaceIVpc
- Specified by:
getVpcArn
in interfaceIVpc.Jsii$Default
-
getVpcCidrBlock
CIDR range for this VPC.- Specified by:
getVpcCidrBlock
in interfaceIVpc
- Specified by:
getVpcCidrBlock
in interfaceIVpc.Jsii$Default
-
getVpcId
Identifier for this VPC.- Specified by:
getVpcId
in interfaceIVpc
- Specified by:
getVpcId
in interfaceIVpc.Jsii$Default
-
getVpnGatewayId
Identifier for the VPN gateway.- Specified by:
getVpnGatewayId
in interfaceIVpc
- Specified by:
getVpnGatewayId
in interfaceIVpc.Jsii$Default
-
applyRemovalPolicy
Apply the given removal policy to this resource.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
).- Specified by:
applyRemovalPolicy
in interfaceIResource
- Specified by:
applyRemovalPolicy
in interfaceIResource.Jsii$Default
- Specified by:
applyRemovalPolicy
in interfaceIVpc.Jsii$Default
- Parameters:
policy
- This parameter is required.
-
addClientVpnEndpoint
@Stability(Stable) @NotNull public final ClientVpnEndpoint addClientVpnEndpoint(@NotNull String id, @NotNull ClientVpnEndpointOptions options) Adds a new client VPN endpoint to this VPC.- Specified by:
addClientVpnEndpoint
in interfaceIVpc
- Specified by:
addClientVpnEndpoint
in interfaceIVpc.Jsii$Default
- Parameters:
id
- This parameter is required.options
- This parameter is required.
-
addFlowLog
@Stability(Stable) @NotNull public final FlowLog addFlowLog(@NotNull String id, @Nullable FlowLogOptions options) Adds a new Flow Log to this VPC.- Specified by:
addFlowLog
in interfaceIVpc
- Specified by:
addFlowLog
in interfaceIVpc.Jsii$Default
- Parameters:
id
- This parameter is required.options
-
-
addFlowLog
Adds a new Flow Log to this VPC.- Specified by:
addFlowLog
in interfaceIVpc
- Parameters:
id
- This parameter is required.
-
addGatewayEndpoint
@Stability(Stable) @NotNull public final GatewayVpcEndpoint addGatewayEndpoint(@NotNull String id, @NotNull GatewayVpcEndpointOptions options) Adds a new gateway endpoint to this VPC.- Specified by:
addGatewayEndpoint
in interfaceIVpc
- Specified by:
addGatewayEndpoint
in interfaceIVpc.Jsii$Default
- Parameters:
id
- This parameter is required.options
- This parameter is required.
-
addInterfaceEndpoint
@Stability(Stable) @NotNull public final InterfaceVpcEndpoint addInterfaceEndpoint(@NotNull String id, @NotNull InterfaceVpcEndpointOptions options) Adds a new interface endpoint to this VPC.- Specified by:
addInterfaceEndpoint
in interfaceIVpc
- Specified by:
addInterfaceEndpoint
in interfaceIVpc.Jsii$Default
- Parameters:
id
- This parameter is required.options
- This parameter is required.
-
addVpnConnection
@Stability(Stable) @NotNull public final VpnConnection addVpnConnection(@NotNull String id, @NotNull VpnConnectionOptions options) Adds a new VPN connection to this VPC.- Specified by:
addVpnConnection
in interfaceIVpc
- Specified by:
addVpnConnection
in interfaceIVpc.Jsii$Default
- Parameters:
id
- This parameter is required.options
- This parameter is required.
-
enableVpnGateway
Adds a VPN Gateway to this VPC.- Specified by:
enableVpnGateway
in interfaceIVpc
- Specified by:
enableVpnGateway
in interfaceIVpc.Jsii$Default
- Parameters:
options
- This parameter is required.
-
selectSubnets
@Stability(Stable) @NotNull public final SelectedSubnets selectSubnets(@Nullable SubnetSelection selection) Return information on the subnets appropriate for the given selection strategy.Requires that at least one subnet is matched, throws a descriptive error message otherwise.
- Specified by:
selectSubnets
in interfaceIVpc
- Specified by:
selectSubnets
in interfaceIVpc.Jsii$Default
- Parameters:
selection
-
-
selectSubnets
Return information on the subnets appropriate for the given selection strategy.Requires that at least one subnet is matched, throws a descriptive error message otherwise.
- Specified by:
selectSubnets
in interfaceIVpc
-