{"id":19317503,"url":"https://github.com/rawsanj/aws-lambda-filter-chain","last_synced_at":"2025-08-20T21:11:15.503Z","repository":{"id":45161007,"uuid":"183959651","full_name":"RawSanj/aws-lambda-filter-chain","owner":"RawSanj","description":"AWS Lambda Filters","archived":false,"fork":false,"pushed_at":"2022-11-15T23:49:23.000Z","size":61,"stargazers_count":0,"open_issues_count":3,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-08-15T01:33:24.229Z","etag":null,"topics":["annotation-processing","annotation-processor","api-gateway","aws-lambda","aws-lambda-filters","java-8"],"latest_commit_sha":null,"homepage":null,"language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/RawSanj.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2019-04-28T21:14:51.000Z","updated_at":"2021-12-18T14:17:15.000Z","dependencies_parsed_at":"2023-01-23T02:31:03.783Z","dependency_job_id":null,"html_url":"https://github.com/RawSanj/aws-lambda-filter-chain","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/RawSanj/aws-lambda-filter-chain","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RawSanj%2Faws-lambda-filter-chain","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RawSanj%2Faws-lambda-filter-chain/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RawSanj%2Faws-lambda-filter-chain/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RawSanj%2Faws-lambda-filter-chain/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/RawSanj","download_url":"https://codeload.github.com/RawSanj/aws-lambda-filter-chain/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RawSanj%2Faws-lambda-filter-chain/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":271386096,"owners_count":24750510,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-08-20T02:00:09.606Z","response_time":69,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["annotation-processing","annotation-processor","api-gateway","aws-lambda","aws-lambda-filters","java-8"],"created_at":"2024-11-10T01:15:25.279Z","updated_at":"2025-08-20T21:11:15.464Z","avatar_url":"https://github.com/RawSanj.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# aws-lambda-filter-chain\n\nAWS Lambda Filter Chain provides a way to add filters similar to `javax.servlet.Filter` to the AWS Lambda Functions handling requests from API Gateway\n\n## Installation\n\n#### Clone the Github repository\n```sh\n$ git clone https://github.com/RawSanj/aws-lambda-filter-chain.git\n```\n\n#### Build library and sample API Gateway Lambda Function\n```sh\n$ ./build.sh\n```\n\n#### Build \u0026 Run sample API Gateway Lambda Function locally\nBuild and run locally\n```sh\n$ ./build.sh runLocally\n```\n\nSkip build and run locally\n```sh\n$ ./build.sh runLocally --skipBuild\n```\n**Note:**\nInstall [AWS SAM CLI](https://github.com/awslabs/aws-sam-cli) and [Docker](https://hub.docker.com/search/?type=edition\u0026offering=community\u0026operating_system=linux%2Cwindows) to run aws lambda functions locally.\n\n#### Test the sample lambda function locally\n```sh\n$ // Get All User\n$ curl  http://127.0.0.1:3000/user\n$ // Post User\n$ 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\"}'\n$ // Post Invalid Request i.e. username with special character\n$ curl -X POST http://localhost:3000/user -H 'Accept: application/json' -H 'Content-Type: application/json' -d '{\"userName\": \"john@example\",\"fullName\": \"John Doe\",\"age\": 29,\"company\": \"Example\"}'\n```\n\n\n## License\n\nApache License 2.0\n\nCopyright (c) 2019 Sanjay Rawat\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frawsanj%2Faws-lambda-filter-chain","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frawsanj%2Faws-lambda-filter-chain","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frawsanj%2Faws-lambda-filter-chain/lists"}