To build an API with Lambda integrations, you can use Lambda proxy integration. https://docs.aws.amazon.com/apigateway/latest/developerguide/getting-started-with-lambda-integration.html


Using AWS Lambda with Amazon API Gateway: https://docs.aws.amazon.com/lambda/latest/dg/services-apigateway.html