Interface WebSocketRouteProps

All Superinterfaces:
software.amazon.jsii.JsiiSerializable, WebSocketRouteOptions
All Known Implementing Classes:
WebSocketRouteProps.Jsii$Proxy

@Generated(value="jsii-pacmak/1.98.0 (build 00b106d)", date="2024-05-08T21:35:02.237Z") @Stability(Stable) public interface WebSocketRouteProps extends software.amazon.jsii.JsiiSerializable, WebSocketRouteOptions
Properties to initialize a new 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.apigatewayv2.*;
 WebSocketApi webSocketApi;
 IWebSocketRouteAuthorizer webSocketRouteAuthorizer;
 WebSocketRouteIntegration webSocketRouteIntegration;
 WebSocketRouteProps webSocketRouteProps = WebSocketRouteProps.builder()
         .integration(webSocketRouteIntegration)
         .routeKey("routeKey")
         .webSocketApi(webSocketApi)
         // the properties below are optional
         .apiKeyRequired(false)
         .authorizer(webSocketRouteAuthorizer)
         .returnResponse(false)
         .build();
 
  • Method Details