Interface WebSocketAuthorizerProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
WebSocketAuthorizerProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.121.0 (build d7af9b9)",
date="2025-12-18T18:20:04.413Z")
@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
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forWebSocketAuthorizerPropsstatic final classAn 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.BuilderofWebSocketAuthorizerProps
-