{"id":21377212,"url":"https://github.com/softchef/cdk-apigateways","last_synced_at":"2026-05-20T02:46:09.685Z","repository":{"id":42536802,"uuid":"476235016","full_name":"SoftChef/cdk-apigateways","owner":"SoftChef","description":null,"archived":false,"fork":false,"pushed_at":"2022-08-09T00:30:36.000Z","size":198,"stargazers_count":0,"open_issues_count":1,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-02-25T08:22:41.910Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"TypeScript","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/SoftChef.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":"2022-03-31T09:20:35.000Z","updated_at":"2022-03-31T09:21:52.000Z","dependencies_parsed_at":"2022-09-17T00:12:09.234Z","dependency_job_id":null,"html_url":"https://github.com/SoftChef/cdk-apigateways","commit_stats":null,"previous_names":[],"tags_count":6,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SoftChef%2Fcdk-apigateways","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SoftChef%2Fcdk-apigateways/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SoftChef%2Fcdk-apigateways/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SoftChef%2Fcdk-apigateways/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/SoftChef","download_url":"https://codeload.github.com/SoftChef/cdk-apigateways/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243852432,"owners_count":20358270,"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","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":[],"created_at":"2024-11-22T09:19:36.149Z","updated_at":"2026-05-20T02:46:09.396Z","avatar_url":"https://github.com/SoftChef.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# AWS CDK with API Gateway(s) \u0026 CloudFront(CDN)\n\n[![npm version](https://badge.fury.io/js/%40softchef%2Fcdk-apigateways.svg)](https://badge.fury.io/js/%40softchef%2Fcdk-restapi)\n![Release](https://github.com/SoftChef/cdk-apigateways/workflows/Release/badge.svg)\n![npm](https://img.shields.io/npm/dt/@softchef/cdk-apigateways?label=NPM%20Downloads\u0026color=orange)\n\n`cdk-apigateways` is an AWS CDK construct. It's help to mix multiple `RestApi` or `HttpApi` (API Gateway) or `RestApi` [(@softchef/cdk-restapi)](https://github.com/SoftChef/cdk-restapi) to the same CloudFront distribution. If you have provide the `Swagger 2.0` / `Open API 3.0` / `Open API 3.1` definitions file, it will generate documentation website in the same distribution.\n\n## Installation\n\n### NPM\n```\nnpm install @softchef/cdk-apigateways\n```\n\n### Yarn\n```\nyarn add @softchef/cdk-apigateways\n```\n\n## Example\n\n```\nconst apis = new ApiGateways(this, 'ApiGateways', {\n  stageName: 'prod',\n  originApisConfig: {\n    books: {\n      originApi: booksApi,\n    },\n    articles: {\n      originApi: articlesApi,\n    },\n  },\n  distribution: {\n    comment: 'ApiGateways',\n  },\n  documentation: {\n    s3Bucket: docBucket,\n    file: './docs/swagger.yaml',\n  },\n});\n```\n\n## Todo List\n- Add architecture diagram\n- Add about Redoc\n\n## License\nThis code is licensed under the Apache License 2.0. See the [LICENSE](https://github.com/SoftChef/cdk-apigateways/blob/main/LICENSE) file.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsoftchef%2Fcdk-apigateways","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsoftchef%2Fcdk-apigateways","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsoftchef%2Fcdk-apigateways/lists"}