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

@Generated(value="jsii-pacmak/1.103.1 (build bef2dea)", date="2024-10-05T03:43:53.161Z") @Stability(Experimental) public interface IVpcV2 extends software.amazon.jsii.JsiiSerializable, IVpc
(experimental) Placeholder to see what extra props we might need, will be added to original IVPC.
  • Method Details

    • getIpv4CidrBlock

      @Stability(Experimental) @NotNull String 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

      @Stability(Experimental) @NotNull List<CfnVPCCidrBlock> 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

      @Stability(Experimental) void addInternetGateway(@Nullable InternetGatewayOptions options)
      (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

      @Stability(Experimental) @NotNull NatGateway addNatGateway(@NotNull NatGatewayOptions options)
      (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.