Module: AWSCDK::APIGatewayv2::IWebSocketRouteAuthorizer
- Included in:
- WebSocketNoneAuthorizer, AWSCDK::APIGatewayv2Authorizers::WebSocketIAMAuthorizer, AWSCDK::APIGatewayv2Authorizers::WebSocketLambdaAuthorizer
- Defined in:
- api_gatewayv2/i_web_socket_route_authorizer.rb
Overview
An authorizer that can attach to an WebSocket Route.
Class Method Summary collapse
Instance Method Summary collapse
-
#bind(options) ⇒ AWSCDK::APIGatewayv2::WebSocketRouteAuthorizerConfig
Bind this authorizer to a specified WebSocket route.
Class Method Details
.jsii_overridable_methods ⇒ Object
17 18 19 20 21 |
# File 'api_gatewayv2/i_web_socket_route_authorizer.rb', line 17 def self.jsii_overridable_methods { :bind => { kind: :method, name: "bind", is_optional: false }, } end |
Instance Method Details
#bind(options) ⇒ AWSCDK::APIGatewayv2::WebSocketRouteAuthorizerConfig
Bind this authorizer to a specified WebSocket route.
11 12 13 14 15 |
# File 'api_gatewayv2/i_web_socket_route_authorizer.rb', line 11 def bind() = .is_a?(Hash) ? ::AWSCDK::APIGatewayv2::WebSocketRouteAuthorizerBindOptions.new(**.transform_keys(&:to_sym)) : Jsii::Type.check_type(, JSON.parse(Base64.strict_decode64("eyJmcW4iOiJhd3MtY2RrLWxpYi5hd3NfYXBpZ2F0ZXdheXYyLldlYlNvY2tldFJvdXRlQXV0aG9yaXplckJpbmRPcHRpb25zIn0=")), "options") jsii_call_method("bind", []) end |