Module: AWSCDK::APIGatewayv2::IHttpRouteAuthorizer
- Included in:
- HttpNoneAuthorizer, AWSCDK::APIGatewayv2Authorizers::HttpIAMAuthorizer, AWSCDK::APIGatewayv2Authorizers::HttpJwtAuthorizer, AWSCDK::APIGatewayv2Authorizers::HttpLambdaAuthorizer, AWSCDK::APIGatewayv2Authorizers::HttpUserPoolAuthorizer
- Defined in:
- api_gatewayv2/i_http_route_authorizer.rb
Overview
An authorizer that can attach to an Http Route.
Class Method Summary collapse
Instance Method Summary collapse
-
#bind(options) ⇒ AWSCDK::APIGatewayv2::HttpRouteAuthorizerConfig
Bind this authorizer to a specified Http route.
Class Method Details
.jsii_overridable_methods ⇒ Object
17 18 19 20 21 |
# File 'api_gatewayv2/i_http_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::HttpRouteAuthorizerConfig
Bind this authorizer to a specified Http route.
11 12 13 14 15 |
# File 'api_gatewayv2/i_http_route_authorizer.rb', line 11 def bind() = .is_a?(Hash) ? ::AWSCDK::APIGatewayv2::HttpRouteAuthorizerBindOptions.new(**.transform_keys(&:to_sym)) : Jsii::Type.check_type(, JSON.parse(Base64.strict_decode64("eyJmcW4iOiJhd3MtY2RrLWxpYi5hd3NfYXBpZ2F0ZXdheXYyLkh0dHBSb3V0ZUF1dGhvcml6ZXJCaW5kT3B0aW9ucyJ9")), "options") jsii_call_method("bind", []) end |