@Generated(value="jsii-pacmak/1.74.0 (build 6d08790)", date="2023-02-15T19:53:17.429Z") @Stability(value=Experimental) public class WebSocketRoute extends Resource implements IWebSocketRoute
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.alpha.*;
WebSocketApi webSocketApi;
IWebSocketRouteAuthorizer webSocketRouteAuthorizer;
WebSocketRouteIntegration webSocketRouteIntegration;
WebSocketRoute webSocketRoute = WebSocketRoute.Builder.create(this, "MyWebSocketRoute")
.integration(webSocketRouteIntegration)
.routeKey("routeKey")
.webSocketApi(webSocketApi)
// the properties below are optional
.apiKeyRequired(false)
.authorizer(webSocketRouteAuthorizer)
.build();
| Modifier and Type | Class and Description |
|---|---|
static class |
WebSocketRoute.Builder
(experimental) A fluent builder for
WebSocketRoute. |
software.amazon.jsii.JsiiObject.InitializationModeIWebSocketRoute.Jsii$Default, IWebSocketRoute.Jsii$Proxy| Modifier | Constructor and Description |
|---|---|
|
WebSocketRoute(software.constructs.Construct scope,
String id,
WebSocketRouteProps props) |
protected |
WebSocketRoute(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) |
protected |
WebSocketRoute(software.amazon.jsii.JsiiObjectRef objRef) |
| Modifier and Type | Method and Description |
|---|---|
String |
getIntegrationResponseId()
(experimental) Integration response ID.
|
String |
getRouteId()
(experimental) Id of the Route.
|
String |
getRouteKey()
(experimental) The key to this route.
|
IWebSocketApi |
getWebSocketApi()
(experimental) The WebSocket API associated with this route.
|
applyRemovalPolicy, generatePhysicalName, getEnv, getPhysicalName, getResourceArnAttribute, getResourceNameAttribute, getStack, isOwnedResource, isResourcejsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitapplyRemovalPolicy, getEnv, getStackprotected WebSocketRoute(software.amazon.jsii.JsiiObjectRef objRef)
protected WebSocketRoute(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
@Stability(value=Experimental)
public WebSocketRoute(@NotNull
software.constructs.Construct scope,
@NotNull
String id,
@NotNull
WebSocketRouteProps props)
scope - This parameter is required.id - This parameter is required.props - This parameter is required.@Stability(value=Experimental) @NotNull public String getRouteId()
getRouteId in interface IRoute@Stability(value=Experimental) @NotNull public String getRouteKey()
getRouteKey in interface IWebSocketRoute@Stability(value=Experimental) @NotNull public IWebSocketApi getWebSocketApi()
getWebSocketApi in interface IWebSocketRoute@Stability(value=Experimental) @Nullable public String getIntegrationResponseId()
Copyright © 2023. All rights reserved.