WebSocketAuthorizerAttributes
- class aws_cdk.aws_apigatewayv2.WebSocketAuthorizerAttributes(*, authorizer_id, authorizer_type)
Bases:
object
(experimental) Reference to an WebSocket authorizer.
- Parameters:
authorizer_id (
str
) – (experimental) Id of the Authorizer.authorizer_type (
str
) – (experimental) Type of authorizer. Possible values are: - CUSTOM - Lambda Authorizer - NONE - No Authorization
- Stability:
experimental
- ExampleMetadata:
fixture=_generated
Example:
# The code below shows an example of how to instantiate this type. # The values are placeholders you should change. import aws_cdk.aws_apigatewayv2 as apigatewayv2 web_socket_authorizer_attributes = apigatewayv2.WebSocketAuthorizerAttributes( authorizer_id="authorizerId", authorizer_type="authorizerType" )
Attributes
- authorizer_id
(experimental) Id of the Authorizer.
- Stability:
experimental
- authorizer_type
(experimental) Type of authorizer.
Possible values are:
CUSTOM - Lambda Authorizer
NONE - No Authorization
- Stability:
experimental