@Generated(value="jsii-pacmak/1.67.0 (build 2c027f5)", date="2022-09-19T20:26:38.439Z") @Stability(value=Stable) 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)
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 |
enableVpnGateway(EnableVpnGatewayOptions options)
Adds a VPN Gateway to this VPC.
|
List<String> |
getAvailabilityZones()
AZs for this VPC.
|
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.
|
List<ISubnet> |
getPrivateSubnets()
List of private subnets in this VPC.
|
List<ISubnet> |
getPublicSubnets()
List of public subnets in this VPC.
|
String |
getVpcArn()
ARN for this VPC.
|
String |
getVpcCidrBlock()
CIDR range for this VPC.
|
String |
getVpcId()
Identifier for this VPC.
|
default 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.
|
applyRemovalPolicy, getEnv, getStack@Stability(value=Stable) @NotNull List<String> getAvailabilityZones()
@Stability(value=Stable) @NotNull software.constructs.IDependable getInternetConnectivityEstablished()
@Stability(value=Stable) @NotNull List<ISubnet> getIsolatedSubnets()
@Stability(value=Stable) @NotNull List<ISubnet> getPrivateSubnets()
@Stability(value=Stable) @NotNull List<ISubnet> getPublicSubnets()
@Stability(value=Stable) @NotNull String getVpcArn()
@Stability(value=Stable) @NotNull String getVpcCidrBlock()
@Stability(value=Stable) @NotNull String getVpcId()
@Stability(value=Stable) @Nullable default String getVpnGatewayId()
@Stability(value=Stable) @NotNull ClientVpnEndpoint addClientVpnEndpoint(@NotNull String id, @NotNull ClientVpnEndpointOptions options)
id - This parameter is required.options - This parameter is required.@Stability(value=Stable) @NotNull FlowLog addFlowLog(@NotNull String id, @Nullable FlowLogOptions options)
id - This parameter is required.options - @Stability(value=Stable) @NotNull FlowLog addFlowLog(@NotNull String id)
id - This parameter is required.@Stability(value=Stable) @NotNull GatewayVpcEndpoint addGatewayEndpoint(@NotNull String id, @NotNull GatewayVpcEndpointOptions options)
id - This parameter is required.options - This parameter is required.@Stability(value=Stable) @NotNull InterfaceVpcEndpoint addInterfaceEndpoint(@NotNull String id, @NotNull InterfaceVpcEndpointOptions options)
id - This parameter is required.options - This parameter is required.@Stability(value=Stable) @NotNull VpnConnection addVpnConnection(@NotNull String id, @NotNull VpnConnectionOptions options)
id - This parameter is required.options - This parameter is required.@Stability(value=Stable)
void enableVpnGateway(@NotNull
EnableVpnGatewayOptions options)
options - This parameter is required.@Stability(value=Stable) @NotNull SelectedSubnets selectSubnets(@Nullable SubnetSelection selection)
Requires that at least one subnet is matched, throws a descriptive error message otherwise.
selection - @Stability(value=Stable) @NotNull SelectedSubnets selectSubnets()
Requires that at least one subnet is matched, throws a descriptive error message otherwise.
Copyright © 2022. All rights reserved.