{"id":17865254,"url":"https://github.com/oieduardorabelo/cdk-lambda-private-subnet-allowlist-ip","last_synced_at":"2026-05-04T05:46:09.400Z","repository":{"id":71572277,"uuid":"493525715","full_name":"oieduardorabelo/cdk-lambda-private-subnet-allowlist-ip","owner":"oieduardorabelo","description":"AWS Lambda in Private Subnet with restrict outbound connection based on IP Allowlist","archived":false,"fork":false,"pushed_at":"2022-06-01T01:24:47.000Z","size":89,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-02T21:37:53.559Z","etag":null,"topics":["aws","aws-lambda","aws-lambda-node","aws-vpc","aws-vpc-gateway","aws-vpc-subnet","cdk","cdk-example","serverless"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/oieduardorabelo.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2022-05-18T05:46:48.000Z","updated_at":"2023-10-13T08:38:12.000Z","dependencies_parsed_at":"2023-05-11T10:15:38.278Z","dependency_job_id":null,"html_url":"https://github.com/oieduardorabelo/cdk-lambda-private-subnet-allowlist-ip","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/oieduardorabelo/cdk-lambda-private-subnet-allowlist-ip","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/oieduardorabelo%2Fcdk-lambda-private-subnet-allowlist-ip","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/oieduardorabelo%2Fcdk-lambda-private-subnet-allowlist-ip/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/oieduardorabelo%2Fcdk-lambda-private-subnet-allowlist-ip/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/oieduardorabelo%2Fcdk-lambda-private-subnet-allowlist-ip/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/oieduardorabelo","download_url":"https://codeload.github.com/oieduardorabelo/cdk-lambda-private-subnet-allowlist-ip/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/oieduardorabelo%2Fcdk-lambda-private-subnet-allowlist-ip/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32596533,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-03T22:12:39.696Z","status":"online","status_checked_at":"2026-05-04T02:00:06.625Z","response_time":58,"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":["aws","aws-lambda","aws-lambda-node","aws-vpc","aws-vpc-gateway","aws-vpc-subnet","cdk","cdk-example","serverless"],"created_at":"2024-10-28T09:19:58.079Z","updated_at":"2026-05-04T05:46:09.330Z","avatar_url":"https://github.com/oieduardorabelo.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# AWS Lambda in Private Subnet with restrict outbound connection based on IP Allowlist\n\nCDK example of:\n\n- AWS Lambda running inside a VPC\n- Restrict outbound connection based on IP Allowlist\n- Custom Security Group in AWS Lambda to restrict outbound connection\n- NAT Gateway in Public Subnet to allow Internet connection for AWS Lambda\n\nFinal architecture:\n\n![](final-architecture.png)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Foieduardorabelo%2Fcdk-lambda-private-subnet-allowlist-ip","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Foieduardorabelo%2Fcdk-lambda-private-subnet-allowlist-ip","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Foieduardorabelo%2Fcdk-lambda-private-subnet-allowlist-ip/lists"}