Template that will create the following:
- API Gateway:
- Deployed as a
REGIONAL
endpoint. - Single root method, accepting
POST
requests only, with Lambda proxy integration to a target function.
- Deployed as a
- In-line Python Lambda function echoing back requesting users IP address to API Gateway requests:
- IAM role for Lambda allowing CloudWatch logs access.
- Permissions for Lambda that allow API Gateway endpoint to successfully invoke function.