@Generated(value="jsii-pacmak/1.50.0 (build d1830a4)", date="2022-01-04T15:39:02.061Z") @Stability(value=Experimental) public interface WebSocketAuthorizerProps extends software.amazon.jsii.JsiiSerializable
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;
WebSocketAuthorizerProps webSocketAuthorizerProps = WebSocketAuthorizerProps.builder()
.identitySource(List.of("identitySource"))
.type(WebSocketAuthorizerType.LAMBDA)
.webSocketApi(webSocketApi)
// the properties below are optional
.authorizerName("authorizerName")
.authorizerUri("authorizerUri")
.build();
| Modifier and Type | Interface and Description |
|---|---|
static class |
WebSocketAuthorizerProps.Builder
A builder for
WebSocketAuthorizerProps |
static class |
WebSocketAuthorizerProps.Jsii$Proxy
An implementation for
WebSocketAuthorizerProps |
| Modifier and Type | Method and Description |
|---|---|
static WebSocketAuthorizerProps.Builder |
builder() |
default String |
getAuthorizerName()
(experimental) Name of the authorizer.
|
default String |
getAuthorizerUri()
(experimental) The authorizer's Uniform Resource Identifier (URI).
|
List<String> |
getIdentitySource()
(experimental) The identity source for which authorization is requested.
|
WebSocketAuthorizerType |
getType()
(experimental) The type of authorizer.
|
IWebSocketApi |
getWebSocketApi()
(experimental) WebSocket Api to attach the authorizer to.
|
@Stability(value=Experimental) @NotNull List<String> getIdentitySource()
https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apigatewayv2-authorizer.html#cfn-apigatewayv2-authorizer-identitysource@Stability(value=Experimental) @NotNull WebSocketAuthorizerType getType()
@Stability(value=Experimental) @NotNull IWebSocketApi getWebSocketApi()
@Stability(value=Experimental) @Nullable default String getAuthorizerName()
Default: - id of the WebSocketAuthorizer construct.
@Stability(value=Experimental) @Nullable default String getAuthorizerUri()
For REQUEST authorizers, this must be a well-formed Lambda function URI.
Default: - required for Request authorizer types
@Stability(value=Experimental) static WebSocketAuthorizerProps.Builder builder()
WebSocketAuthorizerProps.Builder of WebSocketAuthorizerPropsCopyright © 2022. All rights reserved.