@Generated(value="jsii-pacmak/1.29.0 (build 41df200)", date="2021-06-02T09:55:17.074Z") @Stability(value=Experimental) public interface IVpc extends software.amazon.jsii.JsiiSerializable, IResource
| Modifier and Type | Interface and Description |
|---|---|
static interface |
IVpc.Jsii$Default
Internal default implementation for
IVpc. |
static class |
IVpc.Jsii$Proxy
A proxy class which represents a concrete javascript instance of this type.
|
| Modifier and Type | Method and Description |
|---|---|
ClientVpnEndpoint |
addClientVpnEndpoint(String id,
ClientVpnEndpointOptions options)
(experimental) Adds a new client VPN endpoint to this VPC.
|
FlowLog |
addFlowLog(String id)
(experimental) Adds a new Flow Log to this VPC.
|
FlowLog |
addFlowLog(String id,
FlowLogOptions options)
(experimental) Adds a new Flow Log to this VPC.
|
GatewayVpcEndpoint |
addGatewayEndpoint(String id,
GatewayVpcEndpointOptions options)
(experimental) Adds a new gateway endpoint to this VPC.
|
InterfaceVpcEndpoint |
addInterfaceEndpoint(String id,
InterfaceVpcEndpointOptions options)
(experimental) Adds a new interface endpoint to this VPC.
|
VpnConnection |
addVpnConnection(String id,
VpnConnectionOptions options)
(experimental) Adds a new VPN connection to this VPC.
|
void |
enableVpnGateway(EnableVpnGatewayOptions options)
(experimental) Adds a VPN Gateway to this VPC.
|
List<String> |
getAvailabilityZones()
(experimental) AZs for this VPC.
|
software.constructs.IDependable |
getInternetConnectivityEstablished()
(experimental) Dependable that can be depended upon to force internet connectivity established on the VPC.
|
List<ISubnet> |
getIsolatedSubnets()
(experimental) List of isolated subnets in this VPC.
|
List<ISubnet> |
getPrivateSubnets()
(experimental) List of private subnets in this VPC.
|
List<ISubnet> |
getPublicSubnets()
(experimental) List of public subnets in this VPC.
|
String |
getVpcCidrBlock()
(experimental) CIDR range for this VPC.
|
String |
getVpcId()
(experimental) Identifier for this VPC.
|
default String |
getVpnGatewayId()
(experimental) Identifier for the VPN gateway.
|
SelectedSubnets |
selectSubnets()
(experimental) Return information on the subnets appropriate for the given selection strategy.
|
SelectedSubnets |
selectSubnets(SubnetSelection selection)
(experimental) Return information on the subnets appropriate for the given selection strategy.
|
@Stability(value=Experimental) @NotNull List<String> getAvailabilityZones()
@Stability(value=Experimental) @NotNull software.constructs.IDependable getInternetConnectivityEstablished()
@Stability(value=Experimental) @NotNull List<ISubnet> getIsolatedSubnets()
@Stability(value=Experimental) @NotNull List<ISubnet> getPrivateSubnets()
@Stability(value=Experimental) @NotNull List<ISubnet> getPublicSubnets()
@Stability(value=Experimental) @NotNull String getVpcCidrBlock()
@Stability(value=Experimental) @NotNull String getVpcId()
@Stability(value=Experimental) @Nullable default String getVpnGatewayId()
@Stability(value=Experimental) @NotNull ClientVpnEndpoint addClientVpnEndpoint(@NotNull String id, @NotNull ClientVpnEndpointOptions options)
id - This parameter is required.options - This parameter is required.@Stability(value=Experimental) @NotNull FlowLog addFlowLog(@NotNull String id, @Nullable FlowLogOptions options)
id - This parameter is required.options - @Stability(value=Experimental) @NotNull FlowLog addFlowLog(@NotNull String id)
id - This parameter is required.@Stability(value=Experimental) @NotNull GatewayVpcEndpoint addGatewayEndpoint(@NotNull String id, @NotNull GatewayVpcEndpointOptions options)
id - This parameter is required.options - This parameter is required.@Stability(value=Experimental) @NotNull InterfaceVpcEndpoint addInterfaceEndpoint(@NotNull String id, @NotNull InterfaceVpcEndpointOptions options)
id - This parameter is required.options - This parameter is required.@Stability(value=Experimental) @NotNull VpnConnection addVpnConnection(@NotNull String id, @NotNull VpnConnectionOptions options)
id - This parameter is required.options - This parameter is required.@Stability(value=Experimental)
void enableVpnGateway(@NotNull
EnableVpnGatewayOptions options)
options - This parameter is required.@Stability(value=Experimental) @NotNull SelectedSubnets selectSubnets(@Nullable SubnetSelection selection)
Requires that at least one subnet is matched, throws a descriptive error message otherwise.
selection - @Stability(value=Experimental) @NotNull SelectedSubnets selectSubnets()
Requires that at least one subnet is matched, throws a descriptive error message otherwise.
Copyright © 2021. All rights reserved.