@Generated(value="jsii-pacmak/1.50.0 (build d1830a4)", date="2022-01-04T15:39:02.087Z") @Stability(value=Experimental) public interface WebSocketRouteProps extends software.amazon.jsii.JsiiSerializable, WebSocketRouteOptions
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
.authorizer(webSocketRouteAuthorizer)
.build();
| Modifier and Type | Interface and Description |
|---|---|
static class |
WebSocketRouteProps.Builder
A builder for
WebSocketRouteProps |
static class |
WebSocketRouteProps.Jsii$Proxy
An implementation for
WebSocketRouteProps |
| Modifier and Type | Method and Description |
|---|---|
static WebSocketRouteProps.Builder |
builder() |
String |
getRouteKey()
(experimental) The key to this route.
|
IWebSocketApi |
getWebSocketApi()
(experimental) The API the route is associated with.
|
getAuthorizer, getIntegration@Stability(value=Experimental) @NotNull String getRouteKey()
@Stability(value=Experimental) @NotNull IWebSocketApi getWebSocketApi()
@Stability(value=Experimental) static WebSocketRouteProps.Builder builder()
builder in interface WebSocketRouteOptionsWebSocketRouteProps.Builder of WebSocketRoutePropsCopyright © 2022. All rights reserved.