Creates a custom Lambda authorizer which reads Authorization: Bearer <access token>
header
and verifies the token against a Cognito user pool.
Creates a custom Lambda authorizer which reads Authorization: Basic <base64-encoded credentials>
header and verifies the credentials against a given secret.
Creates a custom Lambda authorizer which allows both:
Authorization: Bearer <access token>
header, for which the token is checked against the
given Cognito user poolAuthorization: Basic <base64-encoded credentials>
header, for which the credentials are
checked against the credentials from the given basic auth secret nameIf either of these are given and valid, the request is authenticated.
Creates a custom authorizer with the given Lambda function. Use this if you have custom authorization logic, and the other authorizers from this construct don't meet your needs.
https://docs.aws.amazon.com/apigateway/latest/developerguide/http-api-lambda-authorizer.html
No authentication, for when you want a fully public route (or handle authentication in the backend integration).