Interface IVpc.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, IVPCRef, IVPCRef.Jsii$Default, software.amazon.jsii.JsiiSerializable
All Known Subinterfaces:
IVpcV2.Jsii$Default
All Known Implementing Classes:
IVpc.Jsii$Proxy, IVpcV2.Jsii$Proxy
Enclosing interface:
IVpc

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

    • getAvailabilityZones

      @Stability(Stable) @NotNull default List<String> getAvailabilityZones()
      AZs for this VPC.
      Specified by:
      getAvailabilityZones in interface IVpc
    • getInternetConnectivityEstablished

      @Stability(Stable) @NotNull default software.constructs.IDependable getInternetConnectivityEstablished()
      Dependable that can be depended upon to force internet connectivity established on the VPC.
      Specified by:
      getInternetConnectivityEstablished in interface IVpc
    • getIsolatedSubnets

      @Stability(Stable) @NotNull default List<ISubnet> getIsolatedSubnets()
      List of isolated subnets in this VPC.
      Specified by:
      getIsolatedSubnets in interface IVpc
    • getPrivateSubnets

      @Stability(Stable) @NotNull default List<ISubnet> getPrivateSubnets()
      List of private subnets in this VPC.
      Specified by:
      getPrivateSubnets in interface IVpc
    • getPublicSubnets

      @Stability(Stable) @NotNull default List<ISubnet> getPublicSubnets()
      List of public subnets in this VPC.
      Specified by:
      getPublicSubnets in interface IVpc
    • getVpcArn

      @Stability(Stable) @NotNull default String getVpcArn()
      ARN for this VPC.
      Specified by:
      getVpcArn in interface IVpc
    • getVpcCidrBlock

      @Stability(Stable) @NotNull default String getVpcCidrBlock()
      CIDR range for this VPC.
      Specified by:
      getVpcCidrBlock in interface IVpc
    • getVpcId

      @Stability(Stable) @NotNull default String getVpcId()
      Identifier for this VPC.
      Specified by:
      getVpcId in interface IVpc
    • getVpnGatewayId

      @Stability(Stable) @Nullable default String getVpnGatewayId()
      Identifier for the VPN gateway.
      Specified by:
      getVpnGatewayId in interface IVpc
    • addClientVpnEndpoint

      @Stability(Stable) @NotNull default ClientVpnEndpoint addClientVpnEndpoint(@NotNull String id, @NotNull ClientVpnEndpointOptions options)
      Adds a new client VPN endpoint to this VPC.

      Specified by:
      addClientVpnEndpoint in interface IVpc
      Parameters:
      id - This parameter is required.
      options - This parameter is required.
    • addFlowLog

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

      Specified by:
      addFlowLog in interface IVpc
      Parameters:
      id - This parameter is required.
      options -
    • addFlowLog

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

      Specified by:
      addFlowLog in interface IVpc
      Parameters:
      id - This parameter is required.
    • addGatewayEndpoint

      @Stability(Stable) @NotNull default GatewayVpcEndpoint addGatewayEndpoint(@NotNull String id, @NotNull GatewayVpcEndpointOptions options)
      Adds a new gateway endpoint to this VPC.

      Specified by:
      addGatewayEndpoint in interface IVpc
      Parameters:
      id - This parameter is required.
      options - This parameter is required.
    • addInterfaceEndpoint

      @Stability(Stable) @NotNull default InterfaceVpcEndpoint addInterfaceEndpoint(@NotNull String id, @NotNull InterfaceVpcEndpointOptions options)
      Adds a new interface endpoint to this VPC.

      Specified by:
      addInterfaceEndpoint in interface IVpc
      Parameters:
      id - This parameter is required.
      options - This parameter is required.
    • addVpnConnection

      @Stability(Stable) @NotNull default VpnConnection addVpnConnection(@NotNull String id, @NotNull VpnConnectionOptions options)
      Adds a new VPN connection to this VPC.

      Specified by:
      addVpnConnection in interface IVpc
      Parameters:
      id - This parameter is required.
      options - This parameter is required.
    • enableVpnGateway

      @Stability(Stable) default void enableVpnGateway(@NotNull EnableVpnGatewayOptions options)
      Adds a VPN Gateway to this VPC.

      Specified by:
      enableVpnGateway in interface IVpc
      Parameters:
      options - This parameter is required.
    • selectSubnets

      @Stability(Stable) @NotNull default SelectedSubnets selectSubnets(@Nullable SubnetSelection selection)
      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
      Parameters:
      selection -
    • 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