@Generated(value="jsii-pacmak/1.74.0 (build 6d08790)", date="2023-02-15T19:53:17.428Z") @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.alpha.*;
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, 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 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 © 2023. All rights reserved.