@Internal public static interface IVpc.Jsii$Default extends IVpc, IResource.Jsii$Default
IVpc.IVpc.Jsii$Default, IVpc.Jsii$Proxy| Modifier and Type | Method and Description |
|---|---|
default ClientVpnEndpoint |
addClientVpnEndpoint(String id,
ClientVpnEndpointOptions options)
(experimental) Adds a new client VPN endpoint to this VPC.
|
default FlowLog |
addFlowLog(String id,
FlowLogOptions options)
(experimental) Adds a new Flow Log to this VPC.
|
default GatewayVpcEndpoint |
addGatewayEndpoint(String id,
GatewayVpcEndpointOptions options)
(experimental) Adds a new gateway endpoint to this VPC.
|
default InterfaceVpcEndpoint |
addInterfaceEndpoint(String id,
InterfaceVpcEndpointOptions options)
(experimental) Adds a new interface endpoint to this VPC.
|
default VpnConnection |
addVpnConnection(String id,
VpnConnectionOptions options)
(experimental) Adds a new VPN connection to this VPC.
|
default void |
enableVpnGateway(EnableVpnGatewayOptions options)
(experimental) Adds a VPN Gateway to this VPC.
|
default List<String> |
getAvailabilityZones()
(experimental) AZs for this VPC.
|
default ResourceEnvironment |
getEnv()
(experimental) The environment this resource belongs to.
|
default software.constructs.IDependable |
getInternetConnectivityEstablished()
(experimental) Dependable that can be depended upon to force internet connectivity established on the VPC.
|
default List<ISubnet> |
getIsolatedSubnets()
(experimental) List of isolated subnets in this VPC.
|
default software.constructs.Node |
getNode()
The tree node.
|
default List<ISubnet> |
getPrivateSubnets()
(experimental) List of private subnets in this VPC.
|
default List<ISubnet> |
getPublicSubnets()
(experimental) List of public subnets in this VPC.
|
default Stack |
getStack()
(experimental) The stack in which this resource is defined.
|
default String |
getVpcCidrBlock()
(experimental) CIDR range for this VPC.
|
default String |
getVpcId()
(experimental) Identifier for this VPC.
|
default String |
getVpnGatewayId()
(experimental) Identifier for the VPN gateway.
|
default SelectedSubnets |
selectSubnets(SubnetSelection selection)
(experimental) Return information on the subnets appropriate for the given selection strategy.
|
addFlowLog, selectSubnets@Stability(value=Stable) @NotNull default software.constructs.Node getNode()
getNode in interface software.constructs.IConstructgetNode in interface software.constructs.IConstruct.Jsii$DefaultgetNode in interface IResource.Jsii$Default@Stability(value=Experimental) @NotNull default 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$Default@Stability(value=Experimental) @NotNull default Stack getStack()
getStack in interface IResourcegetStack in interface IResource.Jsii$Default@Stability(value=Experimental) @NotNull default List<String> getAvailabilityZones()
getAvailabilityZones in interface IVpc@Stability(value=Experimental) @NotNull default software.constructs.IDependable getInternetConnectivityEstablished()
getInternetConnectivityEstablished in interface IVpc@Stability(value=Experimental) @NotNull default List<ISubnet> getIsolatedSubnets()
getIsolatedSubnets in interface IVpc@Stability(value=Experimental) @NotNull default List<ISubnet> getPrivateSubnets()
getPrivateSubnets in interface IVpc@Stability(value=Experimental) @NotNull default List<ISubnet> getPublicSubnets()
getPublicSubnets in interface IVpc@Stability(value=Experimental) @NotNull default String getVpcCidrBlock()
getVpcCidrBlock in interface IVpc@Stability(value=Experimental) @NotNull default String getVpcId()
@Stability(value=Experimental) @Nullable default String getVpnGatewayId()
getVpnGatewayId in interface IVpc@Stability(value=Experimental) @NotNull default ClientVpnEndpoint addClientVpnEndpoint(@NotNull String id, @NotNull ClientVpnEndpointOptions options)
addClientVpnEndpoint in interface IVpcid - This parameter is required.options - This parameter is required.@Stability(value=Experimental) @NotNull default FlowLog addFlowLog(@NotNull String id, @Nullable FlowLogOptions options)
addFlowLog in interface IVpcid - This parameter is required.options - @Stability(value=Experimental) @NotNull default GatewayVpcEndpoint addGatewayEndpoint(@NotNull String id, @NotNull GatewayVpcEndpointOptions options)
addGatewayEndpoint in interface IVpcid - This parameter is required.options - This parameter is required.@Stability(value=Experimental) @NotNull default InterfaceVpcEndpoint addInterfaceEndpoint(@NotNull String id, @NotNull InterfaceVpcEndpointOptions options)
addInterfaceEndpoint in interface IVpcid - This parameter is required.options - This parameter is required.@Stability(value=Experimental) @NotNull default VpnConnection addVpnConnection(@NotNull String id, @NotNull VpnConnectionOptions options)
addVpnConnection in interface IVpcid - This parameter is required.options - This parameter is required.@Stability(value=Experimental)
default void enableVpnGateway(@NotNull
EnableVpnGatewayOptions options)
enableVpnGateway in interface IVpcoptions - This parameter is required.@Stability(value=Experimental) @NotNull default SelectedSubnets selectSubnets(@Nullable SubnetSelection selection)
Requires that at least one subnet is matched, throws a descriptive error message otherwise.
selectSubnets in interface IVpcselection - Copyright © 2021. All rights reserved.