This example demonstrates how to deploy a single function using Serverless that handles both API Gateway and ALB Target Group events. The basic handler is defined in main.go and the event handlers are specified in serverless.yml.
Deploy
The following steps can be used to deploy the function to AWS. Please be aware that this may incur AWS costs.
Install Serverless using npm install -g serverless.