WebSocketAuthorizerAttributes

class aws_cdk.aws_apigatewayv2.WebSocketAuthorizerAttributes(*, authorizer_id, authorizer_type)

Bases: object

Reference to an WebSocket authorizer.

Parameters:
  • authorizer_id (str) – Id of the Authorizer.

  • authorizer_type (str) – Type of authorizer. Possible values are: - CUSTOM - Lambda Authorizer - NONE - No Authorization

ExampleMetadata:

fixture=_generated

Example:

# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_apigatewayv2 as apigatewayv2

web_socket_authorizer_attributes = apigatewayv2.WebSocketAuthorizerAttributes(
    authorizer_id="authorizerId",
    authorizer_type="authorizerType"
)

Attributes

authorizer_id

Id of the Authorizer.

authorizer_type

Type of authorizer.

Possible values are:

  • CUSTOM - Lambda Authorizer

  • NONE - No Authorization