Skip to main content

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


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-0.1.0.tar.gz (3.2 kB view hashes)

Uploaded Source

Built Distribution

cdk_chalice-0.1.0-py2.py3-none-any.whl (4.5 kB view hashes)

Uploaded Python 2 Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page