Aws Lambda Filter Chain

AWS Lambda Filter Chain provides a way to add filters similar to javax.servlet.Filter to the AWS Lambda Functions handling requests from API Gateway


Clone the Github repository

$ git clone

Build library and sample API Gateway Lambda Function

$ ./

Build & Run sample API Gateway Lambda Function locally

$ ./ runLocally

Note: Install AWS SAM CLI and Docker to run aws lambda functions locally.

Test the sample lambda function locally

$ // Get All User
$ curl
$ // Post User
$ curl -X POST http://localhost:3000/user -H 'Accept: application/json' -H 'Content-Type: application/json' -d '{"userName": "john","fullName": "John Doe","age": 29,"company": "Example"}'
Sanjay Rawat
Cloud Developer

I’m interested in all Cloud Tech - AWS, Serverless, Docker, Kubernetes. Mostly write Java, Spring, Kotlin and Node.js code.