Example Lambda to react to Slack event API events if a given keyword is in the message or unfurled message
API Gateway References:
https://docs.aws.amazon.com/apigateway/latest/developerguide/set-up-logging.html
https://docs.aws.amazon.com/apigateway/latest/developerguide/api-gateway-mapping-template-reference.html
https://aws.amazon.com/blogs/compute/using-api-gateway-mapping-templates-to-handle-changes-in-your-back-end-apis/
Config of cloudwatch logging of api gateway:
https://us-east-1.console.aws.amazon.com/apigateway/home?region=us-east-1#/apis/cjt5f4n38e/stages/dev