Interface IVpcV2
- All Superinterfaces:
software.constructs.IConstruct
,software.constructs.IDependable
,IResource
,IVpc
,software.amazon.jsii.JsiiSerializable
- All Known Subinterfaces:
IVpcV2.Jsii$Default
- All Known Implementing Classes:
IVpcV2.Jsii$Proxy
,VpcV2
,VpcV2Base
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic interface
Internal default implementation forIVpcV2
.static final class
A proxy class which represents a concrete javascript instance of this type. -
Method Summary
Modifier and TypeMethodDescriptionvoid
(experimental) Add an Egress only Internet Gateway to current VPC.void
(experimental) Add an Egress only Internet Gateway to current VPC.void
(experimental) Adds an Internet Gateway to current VPC.void
addInternetGateway
(InternetGatewayOptions options) (experimental) Adds an Internet Gateway to current VPC.addNatGateway
(NatGatewayOptions options) (experimental) Adds a new NAT Gateway to VPC A NAT gateway is a Network Address Translation (NAT) service.enableVpnGatewayV2
(VPNGatewayV2Options options) (experimental) Adds VPN Gateway to VPC and set route propogation.(experimental) The primary IPv4 CIDR block associated with the VPC.(experimental) The secondary CIDR blocks associated with the VPC.Methods inherited from interface software.constructs.IConstruct
getNode
Methods inherited from interface software.amazon.awscdk.IResource
applyRemovalPolicy, getEnv, getStack
Methods inherited from interface software.amazon.awscdk.services.ec2.IVpc
addClientVpnEndpoint, addFlowLog, addFlowLog, addGatewayEndpoint, addInterfaceEndpoint, addVpnConnection, enableVpnGateway, getAvailabilityZones, getInternetConnectivityEstablished, getIsolatedSubnets, getPrivateSubnets, getPublicSubnets, getVpcArn, getVpcCidrBlock, getVpcId, getVpnGatewayId, selectSubnets, selectSubnets
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getIpv4CidrBlock
(experimental) The primary IPv4 CIDR block associated with the VPC.Needed in order to validate the vpc range of subnet current prop vpcCidrBlock refers to the token value For more information, see the
invalid @link
{@link https://docs.aws.amazon.com/vpc/latest/userguide/vpc-cidr-blocks.html#vpc-sizing-ipv4
-
getSecondaryCidrBlock
(experimental) The secondary CIDR blocks associated with the VPC.For more information, see the
invalid @link
{@link https://docs.aws.amazon.com/vpc/latest/userguide/vpc-cidr-blocks.html#vpc-resize
-
addEgressOnlyInternetGateway
@Stability(Experimental) void addEgressOnlyInternetGateway(@Nullable EgressOnlyInternetGatewayOptions options) (experimental) Add an Egress only Internet Gateway to current VPC.Can only be used for ipv6 enabled VPCs. For more information, see the
invalid @link
{@link https://docs.aws.amazon.com/vpc/latest/userguide/egress-only-internet-gateway-basics.html
- Parameters:
options
-
-
addEgressOnlyInternetGateway
@Stability(Experimental) void addEgressOnlyInternetGateway()(experimental) Add an Egress only Internet Gateway to current VPC.Can only be used for ipv6 enabled VPCs. For more information, see the
invalid @link
{@link https://docs.aws.amazon.com/vpc/latest/userguide/egress-only-internet-gateway-basics.html
-
addInternetGateway
(experimental) Adds an Internet Gateway to current VPC.For more information, see the
invalid @link
{@link https://docs.aws.amazon.com/vpc/latest/userguide/vpc-igw-internet-access.html
Default: - defines route for all ipv4('0.0.0.0') and ipv6 addresses('::/0')
- Parameters:
options
-
-
addInternetGateway
@Stability(Experimental) void addInternetGateway()(experimental) Adds an Internet Gateway to current VPC.For more information, see the
invalid @link
{@link https://docs.aws.amazon.com/vpc/latest/userguide/vpc-igw-internet-access.html
Default: - defines route for all ipv4('0.0.0.0') and ipv6 addresses('::/0')
-
addNatGateway
(experimental) Adds a new NAT Gateway to VPC A NAT gateway is a Network Address Translation (NAT) service.NAT Gateway Connectivity can be of type `Public` or `Private`. For more information, see the
invalid @link
{@link https://docs.aws.amazon.com/vpc/latest/userguide/vpc-nat-gateway.html
Default: ConnectivityType.Public
- Parameters:
options
- This parameter is required.
-
enableVpnGatewayV2
@Stability(Experimental) @NotNull VPNGatewayV2 enableVpnGatewayV2(@NotNull VPNGatewayV2Options options) (experimental) Adds VPN Gateway to VPC and set route propogation.For more information, see the
invalid @link
{@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-vpngateway.html
Default: - no route propogation
- Parameters:
options
- This parameter is required.
-