@aws-cdk_aws-apigatewayv2-authorizers-alpha.WebSocketLambdaAuthorizerProps

interface WebSocketLambdaAuthorizerProps ๐Ÿ”น

LanguageType name
.NETAmazon.CDK.AWS.Apigatewayv2.Authorizers.Alpha.WebSocketLambdaAuthorizerProps
Gogithub.com/aws/aws-cdk-go/awscdkapigatewayv2authorizersalpha/v2#WebSocketLambdaAuthorizerProps
Javasoftware.amazon.awscdk.services.apigatewayv2.authorizers.alpha.WebSocketLambdaAuthorizerProps
Pythonaws_cdk.aws_apigatewayv2_authorizers_alpha.WebSocketLambdaAuthorizerProps
TypeScript (source)@aws-cdk/aws-apigatewayv2-authorizers-alpha ยป WebSocketLambdaAuthorizerProps

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 * as apigatewayv2_authorizers_alpha from '@aws-cdk/aws-apigatewayv2-authorizers-alpha';
const webSocketLambdaAuthorizerProps: apigatewayv2_authorizers_alpha.WebSocketLambdaAuthorizerProps = {
  authorizerName: 'authorizerName',
  identitySource: ['identitySource'],
};

Properties

NameTypeDescription
authorizerName?๐Ÿ”นstringThe name of the authorizer.
identitySource?๐Ÿ”นstring[]The identity source for which authorization is requested.

authorizerName?๐Ÿ”น

Type: string (optional, default: same value as id passed in the constructor.)

The name of the authorizer.


identitySource?๐Ÿ”น

Type: string[] (optional, default: ['route.request.header.Authorization'])

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._-]+'.