Interface WebSocketLambdaAuthorizerProps

All Superinterfaces:
software.amazon.jsii.JsiiSerializable
All Known Implementing Classes:
WebSocketLambdaAuthorizerProps.Jsii$Proxy

@Generated(value="jsii-pacmak/1.98.0 (build 00b106d)", date="2024-05-08T21:35:02.247Z") @Stability(Stable) public interface WebSocketLambdaAuthorizerProps extends software.amazon.jsii.JsiiSerializable
Properties to initialize WebSocketTokenAuthorizer.

Example:

 // The code below shows an example of how to instantiate this type.
 // The values are placeholders you should change.
 import software.amazon.awscdk.aws_apigatewayv2_authorizers.*;
 WebSocketLambdaAuthorizerProps webSocketLambdaAuthorizerProps = WebSocketLambdaAuthorizerProps.builder()
         .authorizerName("authorizerName")
         .identitySource(List.of("identitySource"))
         .build();
 
  • Method Details

    • getAuthorizerName

      @Stability(Stable) @Nullable default String getAuthorizerName()
      The name of the authorizer.

      Default: - same value as `id` passed in the constructor.

    • getIdentitySource

      @Stability(Stable) @Nullable default List<String> getIdentitySource()
      The identity source for which authorization is requested.

      Request parameter match 'route.request.querystring|header.[a-zA-z0-9._-]+'. Staged variable match 'stageVariables.[a-zA-Z0-9._-]+'. Context parameter match 'context.[a-zA-Z0-9._-]+'.

      Default: ['route.request.header.Authorization']

    • builder

      @Stability(Stable) static WebSocketLambdaAuthorizerProps.Builder builder()
      Returns:
      a WebSocketLambdaAuthorizerProps.Builder of WebSocketLambdaAuthorizerProps