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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file cdk-chalice-lite-0.1.7.tar.gz.
File metadata
- Download URL: cdk-chalice-lite-0.1.7.tar.gz
- Upload date:
- Size: 6.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.0.5 CPython/3.8.3 Linux/5.3.0-1022-azure
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
01a0b5b55a724b49d233a2e50376ae5daf128060d926f4eb0529da6a95f03d6a
|
|
| MD5 |
d0ec0a1b77f18feab8a0d4a64817a3f9
|
|
| BLAKE2b-256 |
f30fcd0582fbc925af19586c81dd092ef291b9111f7ab11878d25353611058d1
|
File details
Details for the file cdk_chalice_lite-0.1.7-py3-none-any.whl.
File metadata
- Download URL: cdk_chalice_lite-0.1.7-py3-none-any.whl
- Upload date:
- Size: 7.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.0.5 CPython/3.8.3 Linux/5.3.0-1022-azure
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
cc0e507006354fb9534df930893be363c74e29c7b22608c53f671c8953a96a1c
|
|
| MD5 |
e8f6d185e80c9819e8a6f5b29e5b622f
|
|
| BLAKE2b-256 |
052e179bf027344daa3095417ea1c33e195312810f6f1487f9ea26c4fdb8d3d2
|