Interface WebSocketAuthorizerProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
WebSocketAuthorizerProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.103.1 (build bef2dea)",
date="2024-09-11T18:01:10.796Z")
@Stability(Stable)
public interface WebSocketAuthorizerProps
extends software.amazon.jsii.JsiiSerializable
Properties to initialize an instance of
WebSocketAuthorizer
.
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();
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic final class
A builder forWebSocketAuthorizerProps
static final class
An implementation forWebSocketAuthorizerProps
-
Method Summary
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getIdentitySource
The identity source for which authorization is requested.- See Also:
-
getType
The type of authorizer. -
getWebSocketApi
WebSocket Api to attach the authorizer to. -
getAuthorizerName
Name of the authorizer.Default: - id of the WebSocketAuthorizer construct.
-
getAuthorizerUri
The authorizer's Uniform Resource Identifier (URI).For REQUEST authorizers, this must be a well-formed Lambda function URI.
Default: - required for Request authorizer types
-
builder
- Returns:
- a
WebSocketAuthorizerProps.Builder
ofWebSocketAuthorizerProps
-