Utility to facilitate deploying Chalice via the cdk
Project description
cdk-chalice-lite
Like cdk-chalice
, but different.
Usage
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()
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
cdk-chalice-lite-0.1.7.tar.gz
(6.8 kB
view hashes)
Built Distribution
Close
Hashes for cdk_chalice_lite-0.1.7-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | cc0e507006354fb9534df930893be363c74e29c7b22608c53f671c8953a96a1c |
|
MD5 | e8f6d185e80c9819e8a6f5b29e5b622f |
|
BLAKE2b-256 | 052e179bf027344daa3095417ea1c33e195312810f6f1487f9ea26c4fdb8d3d2 |