Class ClientVpnRoute

java.lang.Object
software.amazon.jsii.JsiiObject
software.constructs.Construct
software.amazon.awscdk.core.Construct
software.amazon.awscdk.core.Resource
software.amazon.awscdk.services.ec2.ClientVpnRoute
All Implemented Interfaces:
IConstruct, IDependable, IResource, software.amazon.jsii.JsiiSerializable, software.constructs.IConstruct

@Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)", date="2023-06-19T16:30:39.266Z") @Stability(Stable) public class ClientVpnRoute extends Resource
A client VPN route.

Example:

 // The code below shows an example of how to instantiate this type.
 // The values are placeholders you should change.
 import software.amazon.awscdk.services.ec2.*;
 ClientVpnEndpoint clientVpnEndpoint;
 ClientVpnRouteTarget clientVpnRouteTarget;
 ClientVpnRoute clientVpnRoute = ClientVpnRoute.Builder.create(this, "MyClientVpnRoute")
         .cidr("cidr")
         .target(clientVpnRouteTarget)
         // the properties below are optional
         .clientVpnEndoint(clientVpnEndpoint)
         .clientVpnEndpoint(clientVpnEndpoint)
         .description("description")
         .build();
 
  • Constructor Details

    • ClientVpnRoute

      protected ClientVpnRoute(software.amazon.jsii.JsiiObjectRef objRef)
    • ClientVpnRoute

      protected ClientVpnRoute(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
    • ClientVpnRoute

      @Stability(Stable) public ClientVpnRoute(@NotNull software.constructs.Construct scope, @NotNull String id, @NotNull ClientVpnRouteProps props)
      Parameters:
      scope - This parameter is required.
      id - This parameter is required.
      props - This parameter is required.