Metadata-Version: 2.1
Name: cdk-chalice-lite
Version: 0.1.7
Summary: Utility to facilitate deploying Chalice via the cdk
Home-page: https://pypi.org/project/cdk-chalice-lite/
License: Apache-2.0
Keywords: cdk,chalice,productivity
Author: Stephan Fitzpatrick
Author-email: knowsuchagency@gmail.com
Requires-Python: >=3.7,<4.0
Classifier: License :: OSI Approved :: Apache Software License
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.7
Classifier: Programming Language :: Python :: 3.8
Requires-Dist: aws_cdk.aws_s3_assets (>=1.42.1,<2.0.0)
Requires-Dist: aws_cdk.core (>=1.42.1,<2.0.0)
Requires-Dist: chalice (>=1.14.1,<2.0.0)
Project-URL: Repository, https://github.com/knowsuchagency/cdk-chalice-lite
Description-Content-Type: text/markdown

# cdk-chalice-lite

![](https://github.com/knowsuchagency/cdk-chalice-lite/workflows/black/badge.svg)
![](https://github.com/knowsuchagency/cdk-chalice-lite/workflows/unit%20tests/badge.svg)

Like `cdk-chalice`, but different.

# Usage

```python
from aws_cdk import core

from cdk_chalice_lite import Chalice


class MyStack(core.Stack):

    def __init__(self, scope, id, chalice_app_id, directory, **kwargs):
        super().__init__(scope, id, **kwargs)

        # note, the directory parameter can be either the root directory
        # of your chalice app i.e. where app.py is
        # or it can be the directory of the output of `chalice package`

        # if you choose the former, you can override the values in
        # .chalice/config.json via the stage_config and lambdas_config
        # parameters to the Chalice constructor

        self.chalice = Chalice(self, chalice_app_id, directory)




app = core.App()

my_stack = MyStack(app, 'my-stack')

app.synth()
```

