AWS CDK construct for AWS Chalice
Project description
# cdk-chalice AWS CDK construct for AWS Chalice
Packages AWS Chalice application into AWS SAM format and enriches the resulting SAM template with additional configuration values. The construct currently supports only API handler Lambda functions. It is possible to specify IAM role for API handler Lambda function or let cdk-chalice create one. Additional environment variables can be passed to the application.
#### AWS Chalice application requirements It is recommended that AWS Chalice application will have a CDK-specific stage with settings to be used by the accompanying CDK stack.
Chalice application must have a Dockerfile.cdk file, that should package the application to /chalice.out. The last line should be: `dockerfile RUN chalice package --stage cdk /chalice.out ` cdk-chalice will use Dockerfile.cdk to package the application in a clean environment and retrieve the resulting deployment.zip and sam.json files for further processing.
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
Hashes for cdk_chalice-0.1.0-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1d561d4fabbe63d3cb931987fa1df115eaa5d77c756e193a69927634ef8dc98c |
|
MD5 | eb5c4bfcd64deb8d76acf94c2f9f7eaa |
|
BLAKE2b-256 | ecd1e6de292af17f7f36aafa1907f230e235ae5cf4f7a553ff0882f6a717784e |