Interface WebSocketStageProps

All Superinterfaces:
software.amazon.jsii.JsiiSerializable, StageOptions
All Known Implementing Classes:
WebSocketStageProps.Jsii$Proxy

@Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)", date="2023-06-19T16:30:43.361Z") @Stability(Experimental) public interface WebSocketStageProps extends software.amazon.jsii.JsiiSerializable, StageOptions
(experimental) Properties to initialize an instance of WebSocketStage.

Example:

 import software.amazon.awscdk.services.apigatewayv2.integrations.WebSocketLambdaIntegration;
 Function messageHandler;
 WebSocketApi webSocketApi = new WebSocketApi(this, "mywsapi");
 WebSocketStage.Builder.create(this, "mystage")
         .webSocketApi(webSocketApi)
         .stageName("dev")
         .autoDeploy(true)
         .build();
 webSocketApi.addRoute("sendmessage", WebSocketRouteOptions.builder()
         .integration(new WebSocketLambdaIntegration("SendMessageIntegration", messageHandler))
         .build());