Class IVpcV2.Jsii$Proxy

java.lang.Object
software.amazon.jsii.JsiiObject
software.amazon.awscdk.services.ec2.alpha.IVpcV2.Jsii$Proxy
All Implemented Interfaces:
IVPCRef, IVPCRef.Jsii$Default, IEnvironmentAware, IEnvironmentAware.Jsii$Default, IResource, IResource.Jsii$Default, IVpcV2, IVpcV2.Jsii$Default, IVpc, IVpc.Jsii$Default, software.amazon.jsii.JsiiSerializable, software.constructs.IConstruct, software.constructs.IConstruct.Jsii$Default, software.constructs.IDependable, software.constructs.IDependable.Jsii$Default
Enclosing interface:
IVpcV2

@Internal public static final class IVpcV2.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements IVpcV2.Jsii$Default
A proxy class which represents a concrete javascript instance of this type.
  • Constructor Details

    • Jsii$Proxy

      protected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
  • Method Details

    • addFlowLog

      @Stability(Stable) @NotNull public final 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
      Specified by:
      addFlowLog in interface IVpcV2.Jsii$Default
      Parameters:
      id - This parameter is required.
    • selectSubnets

      @Stability(Stable) @NotNull public final 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
      Specified by:
      selectSubnets in interface IVpcV2.Jsii$Default
    • addEgressOnlyInternetGateway

      @Stability(Experimental) @NotNull public final 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
      Specified by:
      addEgressOnlyInternetGateway in interface IVpcV2.Jsii$Default
    • addInternetGateway

      @Stability(Experimental) @NotNull public final 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
      Specified by:
      addInternetGateway in interface IVpcV2.Jsii$Default