{"id":13505543,"url":"https://github.com/alexpulver/cdk-chalice","last_synced_at":"2025-04-15T05:57:51.536Z","repository":{"id":36468822,"uuid":"226480756","full_name":"alexpulver/cdk-chalice","owner":"alexpulver","description":"AWS CDK construct for AWS Chalice","archived":false,"fork":false,"pushed_at":"2023-12-23T23:20:41.000Z","size":363,"stargazers_count":43,"open_issues_count":0,"forks_count":7,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-04-15T05:57:45.693Z","etag":null,"topics":["aws-cdk","aws-chalice","cdk-chalice"],"latest_commit_sha":null,"homepage":"https://cdk-chalice.softwhat.com","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/alexpulver.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","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":"2019-12-07T08:39:57.000Z","updated_at":"2024-08-13T03:39:36.000Z","dependencies_parsed_at":"2024-06-20T19:13:06.725Z","dependency_job_id":null,"html_url":"https://github.com/alexpulver/cdk-chalice","commit_stats":{"total_commits":119,"total_committers":5,"mean_commits":23.8,"dds":0.4453781512605042,"last_synced_commit":"cd53c14941c12606e790126fe9dc42046f5615a7"},"previous_names":[],"tags_count":16,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alexpulver%2Fcdk-chalice","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alexpulver%2Fcdk-chalice/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alexpulver%2Fcdk-chalice/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alexpulver%2Fcdk-chalice/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/alexpulver","download_url":"https://codeload.github.com/alexpulver/cdk-chalice/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":249016325,"owners_count":21198832,"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":["aws-cdk","aws-chalice","cdk-chalice"],"created_at":"2024-08-01T00:01:09.645Z","updated_at":"2025-04-15T05:57:51.520Z","avatar_url":"https://github.com/alexpulver.png","language":"Python","funding_links":[],"categories":["Construct Libraries"],"sub_categories":["APIs"],"readme":"# cdk-chalice\n\n[![PyPI Version](https://badge.fury.io/py/cdk-chalice.svg)](https://badge.fury.io/py/cdk-chalice)\n![PythonSupport](https://img.shields.io/static/v1?label=python\u0026message=3.6%20|%203.7%20|%203.8%20|%203.9\u0026color=blue?style=flat-square\u0026logo=python)\n[![PyPI status](https://img.shields.io/pypi/status/cdk-chalice.svg)](https://pypi.python.org/pypi/cdk-chalice/)\n[![Downloads](https://pepy.tech/badge/cdk-chalice/month)](https://pypi.org/project/cdk-chalice)\n[![Build Status](https://travis-ci.com/alexpulver/cdk-chalice.svg?branch=master)](https://travis-ci.com/alexpulver/cdk-chalice)\n[![codecov](https://codecov.io/gh/alexpulver/cdk-chalice/branch/master/graph/badge.svg)](https://codecov.io/gh/alexpulver/cdk-chalice)\n[![Quality Gate Status](https://sonarcloud.io/api/project_badges/measure?project=alexpulver_cdk-chalice\u0026metric=alert_status)](https://sonarcloud.io/dashboard?id=alexpulver_cdk-chalice)\n[![Code style: black](https://img.shields.io/badge/code%20style-black-000000.svg)](https://github.com/psf/black)\n[![Contributors](https://img.shields.io/github/contributors/alexpulver/cdk-chalice.svg)](https://github.com/alexpulver/cdk-chalice/graphs/contributors)\n\n**AWS CDK construct for AWS Chalice**\n\nThis library allows to include an [AWS Chalice](https://aws.github.io/chalice/) \napplication into a broader [AWS Cloud Development Kit](https://docs.aws.amazon.com/cdk/latest/guide/home.html)\n(AWS CDK) application.\n\nThe following approach to AWS CDK and AWS Chalice interoperability is taken by the library:\n\n1. **Manually create Chalice application (`chalice new-project`) with default \"dev\" stage in\n   `.chalice/config.json`.** `cdk-chalice` library could perform this Chalice application \n   scaffolding automatically - create new project, or skip this step if project already exists \n   in the target directory (this is `chalice new-project` behavior). The choice to keep this step \n   manual (for now) was made to hopefully make adoption easier for developers who already have \n   existing Chalice projects.\n\n2. **Manually create CDK application (`cdk init [ARGS]`)**\n\n3. **Use `cdk_chalice.Chalice` class to generate stage per CDK stack in `.chalice/config.json` \n   and run `chalice package`**. This is the main purpose of `cdk-chalice` - allow passing \n   CDK tokens for resources, such as DynamoDB table, to SAM template generated by `chalice package` \n   (see example [here](https://github.com/alexpulver/aws-cdk-sam-chalice/blob/master/web-api/.chalice/config.json)), \n   and also to automate the packaging process itself.\n\nIf AWS Chalice doesn't support certain options through its configuration mechanism, \nthere are two ways to address this:\n- Open an [issue](https://github.com/aws/chalice/issues) for AWS Chalice\n- Customize the resources after they have been imported into the CDK stack. `cdk-chalice` uses AWS CDK \n  [`cloudformation-include`](https://docs.aws.amazon.com/cdk/api/latest/docs/cloudformation-include-readme.html) \n  module to enable customization. See `cdk-chalice` API documentation for example and additional details.\n\nThe API documentation and usage example are available at https://cdk-chalice.softwhat.com/\n\n**Installation**\n\nInstall and update using [pip](https://pip.pypa.io/en/stable/installing/):\n```bash\npip install -U cdk-chalice\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falexpulver%2Fcdk-chalice","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Falexpulver%2Fcdk-chalice","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falexpulver%2Fcdk-chalice/lists"}