@aws-cdk_aws-apigatewayv2-alpha.WebSocketAuthorizerAttributes
interface WebSocketAuthorizerAttributes
Language | Type name |
---|---|
![]() | Amazon.CDK.AWS.Apigatewayv2.Alpha.WebSocketAuthorizerAttributes |
![]() | github.com/aws/aws-cdk-go/awscdkapigatewayv2alpha/v2#WebSocketAuthorizerAttributes |
![]() | software.amazon.awscdk.services.apigatewayv2.alpha.WebSocketAuthorizerAttributes |
![]() | aws_cdk.aws_apigatewayv2_alpha.WebSocketAuthorizerAttributes |
![]() | @aws-cdk/aws-apigatewayv2-alpha ยป 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 * as apigatewayv2_alpha from '@aws-cdk/aws-apigatewayv2-alpha';
const webSocketAuthorizerAttributes: apigatewayv2_alpha.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