@Generated(value="jsii-pacmak/1.73.0 (build 6faeda3)", date="2023-01-31T18:36:53.355Z") public interface IVpc extends 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(java.lang.String id,
ClientVpnEndpointOptions options)
Adds a new client VPN endpoint to this VPC.
|
FlowLog |
addFlowLog(java.lang.String id)
Adds a new Flow Log to this VPC.
|
FlowLog |
addFlowLog(java.lang.String id,
FlowLogOptions options)
Adds a new Flow Log to this VPC.
|
GatewayVpcEndpoint |
addGatewayEndpoint(java.lang.String id,
GatewayVpcEndpointOptions options)
Adds a new gateway endpoint to this VPC.
|
InterfaceVpcEndpoint |
addInterfaceEndpoint(java.lang.String id,
InterfaceVpcEndpointOptions options)
Adds a new interface endpoint to this VPC.
|
VpnConnection |
addVpnConnection(java.lang.String id,
VpnConnectionOptions options)
Adds a new VPN connection to this VPC.
|
void |
enableVpnGateway(EnableVpnGatewayOptions options)
Adds a VPN Gateway to this VPC.
|
java.util.List<java.lang.String> |
getAvailabilityZones()
AZs for this VPC.
|
IDependable |
getInternetConnectivityEstablished()
Dependable that can be depended upon to force internet connectivity established on the VPC.
|
java.util.List<ISubnet> |
getIsolatedSubnets()
List of isolated subnets in this VPC.
|
java.util.List<ISubnet> |
getPrivateSubnets()
List of private subnets in this VPC.
|
java.util.List<ISubnet> |
getPublicSubnets()
List of public subnets in this VPC.
|
java.lang.String |
getVpcArn()
ARN for this VPC.
|
java.lang.String |
getVpcCidrBlock()
CIDR range for this VPC.
|
java.lang.String |
getVpcId()
Identifier for this VPC.
|
default java.lang.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
getNode
java.util.List<java.lang.String> getAvailabilityZones()
IDependable getInternetConnectivityEstablished()
java.util.List<ISubnet> getIsolatedSubnets()
java.util.List<ISubnet> getPrivateSubnets()
java.util.List<ISubnet> getPublicSubnets()
java.lang.String getVpcArn()
java.lang.String getVpcCidrBlock()
java.lang.String getVpcId()
default java.lang.String getVpnGatewayId()
ClientVpnEndpoint addClientVpnEndpoint(java.lang.String id, ClientVpnEndpointOptions options)
id
- This parameter is required.options
- This parameter is required.FlowLog addFlowLog(java.lang.String id, FlowLogOptions options)
id
- This parameter is required.options
- FlowLog addFlowLog(java.lang.String id)
id
- This parameter is required.GatewayVpcEndpoint addGatewayEndpoint(java.lang.String id, GatewayVpcEndpointOptions options)
id
- This parameter is required.options
- This parameter is required.InterfaceVpcEndpoint addInterfaceEndpoint(java.lang.String id, InterfaceVpcEndpointOptions options)
id
- This parameter is required.options
- This parameter is required.VpnConnection addVpnConnection(java.lang.String id, VpnConnectionOptions options)
id
- This parameter is required.options
- This parameter is required.void enableVpnGateway(EnableVpnGatewayOptions options)
options
- This parameter is required.SelectedSubnets selectSubnets(SubnetSelection selection)
Requires that at least one subnet is matched, throws a descriptive error message otherwise.
selection
- SelectedSubnets selectSubnets()
Requires that at least one subnet is matched, throws a descriptive error message otherwise.