All Projects → alexpulver → cdk-chalice

alexpulver / cdk-chalice

Licence: MIT license
AWS CDK construct for AWS Chalice

Programming Languages

python
139335 projects - #7 most used programming language
shell
77523 projects

Projects that are alternatives of or similar to cdk-chalice

patterns-serverless-rust
Production-ready setup for starting with serverless Rust + GraphQL + DynamoDB on AWS Lambda using AWS CDK for deployment
Stars: ✭ 15 (-63.41%)
Mutual labels:  aws-cdk
cdk-collections
AWS Infra as Code(akka. AWS CDK) example collections
Stars: ✭ 19 (-53.66%)
Mutual labels:  aws-cdk
amazon-eventbridge-cdk-audit-service-sample
Sample of a decoupled audit service using Amazon EventBridge and AWS Step Functions. Provisioned with AWS CDK.
Stars: ✭ 25 (-39.02%)
Mutual labels:  aws-cdk
aws-cdk-github-oidc
CDK constructs to use OpenID Connect for authenticating your Github Action workflow with AWS IAM
Stars: ✭ 59 (+43.9%)
Mutual labels:  aws-cdk
cdkgoat
CdkGoat is Bridgecrew's "Vulnerable by Design" AWS CDK repository. CdkGoat is a learning and training project that demonstrates how common configuration errors can find their way into production cloud environments.
Stars: ✭ 27 (-34.15%)
Mutual labels:  aws-cdk
document-processing-pipeline-for-regulated-industries
A boilerplate solution for processing image and PDF documents for regulated industries, with lineage and pipeline operations metadata services.
Stars: ✭ 36 (-12.2%)
Mutual labels:  aws-cdk
cdk-examples
AWS CDK Examples Repository
Stars: ✭ 49 (+19.51%)
Mutual labels:  aws-cdk
build-an-app-with-the-AWS-cloud-development-kit-notes
Community notes intended to supplement Tomasz's Build an App with the AWS Cloud Development Kit course
Stars: ✭ 33 (-19.51%)
Mutual labels:  aws-cdk
aws-serverless-app-sam-cdk
Serverless app with CI/CD pipeline using AWS SAM and AWS CDK
Stars: ✭ 46 (+12.2%)
Mutual labels:  aws-cdk
c3
𝗖𝟯 provides compliant AWS CDK components to various security standards.
Stars: ✭ 24 (-41.46%)
Mutual labels:  aws-cdk
aws-serverless-using-aws-cdk
This repository provides the basic patterns of AWS Serverless using AWS CDK.
Stars: ✭ 40 (-2.44%)
Mutual labels:  aws-cdk
aws-cdk-starter
No description or website provided.
Stars: ✭ 31 (-24.39%)
Mutual labels:  aws-cdk
projen-test
An example project explaining how to create and publish CDK constructs using projen and jsii. It lets you publish your CDK constructs to npm, Maven, NuGet and PyPi.
Stars: ✭ 23 (-43.9%)
Mutual labels:  aws-cdk
aws-transcribe-demo
A simple AWS demo utilises Amazon Transcribe to convert audio to text and analyse.
Stars: ✭ 39 (-4.88%)
Mutual labels:  aws-cdk
aws-lambda-nodejs-webpack
λ CDK Construct to build Node.js AWS lambdas using webpack
Stars: ✭ 32 (-21.95%)
Mutual labels:  aws-cdk
cdk-aurora-globaldatabase
Use AWS CDK Create Aurora Global Database
Stars: ✭ 17 (-58.54%)
Mutual labels:  aws-cdk
cdk-valheim
A high level CDK construct of Valheim dedicated server.
Stars: ✭ 20 (-51.22%)
Mutual labels:  aws-cdk
cdk-constructs
Shared constructs for AWS CDK
Stars: ✭ 34 (-17.07%)
Mutual labels:  aws-cdk
OneNodeEcs
one node Amazon ECS cluster using EC2 Spot instance and haproxy
Stars: ✭ 22 (-46.34%)
Mutual labels:  aws-cdk
aws-cdk-go
AWS CDK bindings for Go.
Stars: ✭ 94 (+129.27%)
Mutual labels:  aws-cdk

cdk-chalice

PyPI Version PythonSupport PyPI status Downloads Build Status codecov Quality Gate Status Code style: black Contributors

AWS CDK construct for AWS Chalice

This library allows to include an AWS Chalice application into a broader AWS Cloud Development Kit (AWS CDK) application.

The following approach to AWS CDK and AWS Chalice interoperability is taken by the library:

  1. Manually create Chalice application (chalice new-project) with default "dev" stage in .chalice/config.json. cdk-chalice library could perform this Chalice application scaffolding automatically - create new project, or skip this step if project already exists in the target directory (this is chalice new-project behavior). The choice to keep this step manual (for now) was made to hopefully make adoption easier for developers who already have existing Chalice projects.

  2. Manually create CDK application (cdk init [ARGS])

  3. Use cdk_chalice.Chalice class to generate stage per CDK stack in .chalice/config.json and run chalice package. This is the main purpose of cdk-chalice - allow passing CDK tokens for resources, such as DynamoDB table, to SAM template generated by chalice package (see example here), and also to automate the packaging process itself.

If AWS Chalice doesn't support certain options through its configuration mechanism, there are two ways to address this:

  • Open an issue for AWS Chalice
  • Customize the resources after they have been imported into the CDK stack. cdk-chalice uses AWS CDK cloudformation-include module to enable customization. See cdk-chalice API documentation for example and additional details.

The API documentation and usage example are available at https://cdk-chalice.softwhat.com/

Installation

Install and update using pip:

pip install -U cdk-chalice
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].