interface WebSocketAuthorizerAttributes
Language | Type name |
---|---|
.NET | Amazon.CDK.AWS.Apigatewayv2.WebSocketAuthorizerAttributes |
Go | github.com/aws/aws-cdk-go/awscdk/v2/awsapigatewayv2#WebSocketAuthorizerAttributes |
Java | software.amazon.awscdk.services.apigatewayv2.WebSocketAuthorizerAttributes |
Python | aws_cdk.aws_apigatewayv2.WebSocketAuthorizerAttributes |
TypeScript (source) | aws-cdk-lib » aws_apigatewayv2 » WebSocketAuthorizerAttributes |
Reference to an WebSocket authorizer.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_apigatewayv2 as apigatewayv2 } from 'aws-cdk-lib';
const webSocketAuthorizerAttributes: apigatewayv2.WebSocketAuthorizerAttributes = {
authorizerId: 'authorizerId',
authorizerType: 'authorizerType',
};
Properties
Name | Type | Description |
---|---|---|
authorizer | string | Id of the Authorizer. |
authorizer | string | Type of authorizer. |
authorizerId
Type:
string
Id of the Authorizer.
authorizerType
Type:
string
Type of authorizer.
Possible values are:
- CUSTOM - Lambda Authorizer
- NONE - No Authorization