@Generated(value="jsii-pacmak/1.58.0 (build f8ba112)", date="2022-05-13T01:13:35.756Z") 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 . |
IWebSocketAuthorizer.Jsii$Default, IWebSocketAuthorizer.Jsii$Proxy
Modifier | Constructor and Description |
---|---|
protected |
WebSocketAuthorizer(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) |
protected |
WebSocketAuthorizer(software.amazon.jsii.JsiiObjectRef objRef) |
|
WebSocketAuthorizer(software.constructs.Construct scope,
java.lang.String id,
WebSocketAuthorizerProps props) |
Modifier and Type | Method and Description |
---|---|
static IWebSocketRouteAuthorizer |
fromWebSocketAuthorizerAttributes(software.constructs.Construct scope,
java.lang.String id,
WebSocketAuthorizerAttributes attrs)
(experimental) Import an existing WebSocket Authorizer into this CDK app.
|
java.lang.String |
getAuthorizerId()
(experimental) Id of the Authorizer.
|
applyRemovalPolicy, generatePhysicalName, getEnv, getPhysicalName, getResourceArnAttribute, getResourceNameAttribute, getStack, isResource
getNode, isConstruct, onPrepare, onSynthesize, onValidate, prepare, synthesize, validate
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
applyRemovalPolicy, getEnv, getStack
getNode
protected WebSocketAuthorizer(software.amazon.jsii.JsiiObjectRef objRef)
protected WebSocketAuthorizer(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
public WebSocketAuthorizer(software.constructs.Construct scope, java.lang.String id, WebSocketAuthorizerProps props)
scope
- This parameter is required.id
- This parameter is required.props
- This parameter is required.public static IWebSocketRouteAuthorizer fromWebSocketAuthorizerAttributes(software.constructs.Construct scope, java.lang.String id, WebSocketAuthorizerAttributes attrs)
scope
- This parameter is required.id
- This parameter is required.attrs
- This parameter is required.public java.lang.String getAuthorizerId()
getAuthorizerId
in interface IAuthorizer