enum
Amazonite::ApiGateway::AuthorizerType
Overview
The authorizer type. Valid values are TOKEN for a Lambda function using a single authorization
token submitted in a custom header, REQUEST for a Lambda function using incoming request
parameters, and COGNITO_USER_POOLS for using an Amazon Cognito user pool.
Defined in:
api_gateway/authorizer_type.crEnum Members
-
Token =
0 -
Request =
1 -
CognitoUserPools =
2
Class Method Summary
- .from_json(pull : JSON::PullParser) : AAG::AuthorizerType
- .from_json_object_key?(key : String) : AAG::AuthorizerType | Nil
- .to_json(e : AuthorizerType, json : JSON::Builder) : Nil
Instance Method Summary
-
#cognito_user_pools?
Returns
trueif this enum value equalsCognitoUserPools -
#request?
Returns
trueif this enum value equalsRequest - #to_json_object_key : String
-
#token?
Returns
trueif this enum value equalsToken