Interface IVpcV2.Jsii$Default

All Superinterfaces:
software.constructs.IConstruct, software.constructs.IConstruct.Jsii$Default, software.constructs.IDependable, software.constructs.IDependable.Jsii$Default, IEnvironmentAware, IEnvironmentAware.Jsii$Default, IResource, IResource.Jsii$Default, IVpc, IVpc.Jsii$Default, IVPCRef, IVPCRef.Jsii$Default, IVpcV2, software.amazon.jsii.JsiiSerializable
All Known Implementing Classes:
IVpcV2.Jsii$Proxy
Enclosing interface:
IVpcV2

@Internal public static interface IVpcV2.Jsii$Default extends IVpcV2, IVpc.Jsii$Default
Internal default implementation for IVpcV2.
  • Method Details

    • getIpv4CidrBlock

      @Stability(Experimental) @NotNull default 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
      }.
      Specified by:
      getIpv4CidrBlock in interface IVpcV2
    • getOwnerAccountId

      @Stability(Experimental) @NotNull default String getOwnerAccountId()
      (experimental) The ID of the AWS account that owns the VPC.

      Default: - the account id of the parent stack

      Specified by:
      getOwnerAccountId in interface IVpcV2
    • getRegion

      @Stability(Experimental) @NotNull default String getRegion()
      (experimental) Optional to override inferred region.

      Default: - current stack's environment region

      Specified by:
      getRegion in interface IVpcV2
    • getIpv4IpamProvisionedCidrs

      @Stability(Experimental) @Nullable default List<String> getIpv4IpamProvisionedCidrs()
      (experimental) IPv4 CIDR provisioned under pool Required to check for overlapping CIDRs after provisioning is complete under IPAM pool.
      Specified by:
      getIpv4IpamProvisionedCidrs in interface IVpcV2
    • getSecondaryCidrBlock

      @Stability(Experimental) @Nullable default List<IVPCCidrBlock> 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
      }.
      Specified by:
      getSecondaryCidrBlock in interface IVpcV2
    • getVpcName

      @Stability(Experimental) @Nullable default String getVpcName()
      (experimental) VpcName to be used for tagging its components.
      Specified by:
      getVpcName in interface IVpcV2
    • addFlowLog

      @Stability(Stable) @NotNull default FlowLog addFlowLog(@NotNull String id)
      Adds a new Flow Log to this VPC.

      Specified by:
      addFlowLog in interface IVpc
      Specified by:
      addFlowLog in interface IVpc.Jsii$Default
      Parameters:
      id - This parameter is required.
    • selectSubnets

      @Stability(Stable) @NotNull default SelectedSubnets selectSubnets()
      Return information on the subnets appropriate for the given selection strategy.

      Requires that at least one subnet is matched, throws a descriptive error message otherwise.

      Specified by:
      selectSubnets in interface IVpc
      Specified by:
      selectSubnets in interface IVpc.Jsii$Default
    • addEgressOnlyInternetGateway

      @Stability(Experimental) @NotNull default EgressOnlyInternetGateway 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
      }.

      Specified by:
      addEgressOnlyInternetGateway in interface IVpcV2
      Parameters:
      options -
    • addEgressOnlyInternetGateway

      @Stability(Experimental) @NotNull default EgressOnlyInternetGateway 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
      }.
      Specified by:
      addEgressOnlyInternetGateway in interface IVpcV2
    • addInternetGateway

      @Stability(Experimental) @NotNull default InternetGateway 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')

      Specified by:
      addInternetGateway in interface IVpcV2
      Parameters:
      options -
    • addInternetGateway

      @Stability(Experimental) @NotNull default InternetGateway 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')

      Specified by:
      addInternetGateway in interface IVpcV2
    • addNatGateway

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

      Specified by:
      addNatGateway in interface IVpcV2
      Parameters:
      options - This parameter is required.
    • createAcceptorVpcRole

      @Stability(Experimental) @NotNull default Role createAcceptorVpcRole(@NotNull String requestorAccountId)
      (experimental) Adds a new role to acceptor VPC account A cross account role is required for the VPC to peer with another account.

      For more information, see the

      invalid @link
      {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/peer-with-vpc-in-another-account.html
      }.

      Specified by:
      createAcceptorVpcRole in interface IVpcV2
      Parameters:
      requestorAccountId - This parameter is required.
    • createPeeringConnection

      @Stability(Experimental) @NotNull default VPCPeeringConnection createPeeringConnection(@NotNull String id, @NotNull VPCPeeringConnectionOptions options)
      (experimental) Creates a new peering connection A peering connection is a private virtual network established between two VPCs.

      For more information, see the

      invalid @link
      {@link https://docs.aws.amazon.com/vpc/latest/peering/what-is-vpc-peering.html
      }.

      Specified by:
      createPeeringConnection in interface IVpcV2
      Parameters:
      id - This parameter is required.
      options - This parameter is required.
    • enableVpnGatewayV2

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

      Specified by:
      enableVpnGatewayV2 in interface IVpcV2
      Parameters:
      options - This parameter is required.