Class ClientVpnRoute

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

@Generated(value="jsii-pacmak/1.98.0 (build 00b106d)", date="2024-05-24T02:42:37.077Z") @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
         .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.