WebSocketRouteAuthorizerBindOptions

class aws_cdk.aws_apigatewayv2.WebSocketRouteAuthorizerBindOptions(*, route, scope)

Bases: object

(experimental) Input to the bind() operation, that binds an authorizer to a route.

Parameters:
  • route (IWebSocketRoute) – (experimental) The route to which the authorizer is being bound.

  • scope (Construct) – (experimental) The scope for any constructs created as part of the bind.

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
import constructs as constructs

# construct: constructs.Construct
# web_socket_route: apigatewayv2.WebSocketRoute

web_socket_route_authorizer_bind_options = apigatewayv2.WebSocketRouteAuthorizerBindOptions(
    route=web_socket_route,
    scope=construct
)

Attributes

route

(experimental) The route to which the authorizer is being bound.

Stability:

experimental

scope

(experimental) The scope for any constructs created as part of the bind.

Stability:

experimental