Amazon API Gateway AWS Lambda authorizer for basic HTTP authentication
Amazon API Gateway → AWS Lambda → AWS Lambda
API Gateway REST API protected by a Lambda Authorizer supporting basic HTTP authentication.
The Lambda authorizer decodes the credentials provided in the Authorization header. If authorized a policy is returned giving permissions to invoke the downstream Lambda function. If the user is not found a policy is returned denying access to the downstream Lambda function.