@Generated(value="jsii-pacmak/1.70.0 (build 03c2f6f)", date="2022-11-01T13:16:41.632Z") @Stability(value=Experimental) public class WebSocketAuthorizer extends Resource implements IWebSocketAuthorizer
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;
WebSocketAuthorizer webSocketAuthorizer = WebSocketAuthorizer.Builder.create(this, "MyWebSocketAuthorizer")
.identitySource(List.of("identitySource"))
.type(WebSocketAuthorizerType.LAMBDA)
.webSocketApi(webSocketApi)
// the properties below are optional
.authorizerName("authorizerName")
.authorizerUri("authorizerUri")
.build();
| Modifier and Type | Class and Description |
|---|---|
static class |
WebSocketAuthorizer.Builder
(experimental) A fluent builder for
WebSocketAuthorizer. |
software.amazon.jsii.JsiiObject.InitializationModeIWebSocketAuthorizer.Jsii$Default, IWebSocketAuthorizer.Jsii$Proxy| Modifier | Constructor and Description |
|---|---|
|
WebSocketAuthorizer(software.constructs.Construct scope,
String id,
WebSocketAuthorizerProps props) |
protected |
WebSocketAuthorizer(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) |
protected |
WebSocketAuthorizer(software.amazon.jsii.JsiiObjectRef objRef) |
| Modifier and Type | Method and Description |
|---|---|
static IWebSocketRouteAuthorizer |
fromWebSocketAuthorizerAttributes(software.constructs.Construct scope,
String id,
WebSocketAuthorizerAttributes attrs)
(experimental) Import an existing WebSocket Authorizer into this CDK app.
|
String |
getAuthorizerId()
(experimental) Id of the Authorizer.
|
applyRemovalPolicy, generatePhysicalName, getEnv, getPhysicalName, getResourceArnAttribute, getResourceNameAttribute, getStack, isResourcegetNode, isConstruct, onPrepare, onSynthesize, onValidate, prepare, synthesize, validatejsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitapplyRemovalPolicy, getEnv, getStackgetNodeprotected WebSocketAuthorizer(software.amazon.jsii.JsiiObjectRef objRef)
protected WebSocketAuthorizer(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
@Stability(value=Experimental)
public WebSocketAuthorizer(@NotNull
software.constructs.Construct scope,
@NotNull
String id,
@NotNull
WebSocketAuthorizerProps props)
scope - This parameter is required.id - This parameter is required.props - This parameter is required.@Stability(value=Experimental) @NotNull public static IWebSocketRouteAuthorizer fromWebSocketAuthorizerAttributes(@NotNull software.constructs.Construct scope, @NotNull String id, @NotNull WebSocketAuthorizerAttributes attrs)
scope - This parameter is required.id - This parameter is required.attrs - This parameter is required.@Stability(value=Experimental) @NotNull public String getAuthorizerId()
getAuthorizerId in interface IAuthorizerCopyright © 2022. All rights reserved.