Create an Amazon API Gateway to AWS Lambda HTTP API
This pattern creates an Amazon API Gateway API and an AWS Lambda function using AWS Cloud Development Kit (AWS CDK) in Python. This template also has a sample CORS configuration. The sample application was developed in Python and it shows some context, event and environment variables properties.
Run the following command to send an HTTP GET request to the HTTP APIs endpoint. Note that you must edit the {api_endpoint} placeholder with the URL of the deployed HTTP APIs endpoint. This is provided in the deployment outputs.
I am an AWS Cloud Applications Architect at the Professional Services team. I have been working with Cloud Computing since 2008 and I recommends serverless every time I can.