Skip to content

tjsteinhaus/aws-cdk

Repository files navigation

Important Notes

When using the deploy script, you will need to make sure your stack grouping and stack names are setup. Currently it's setup using an environment based format, however it can be setup however you'd like. Default deploys all stacks.

Custom Commands

Usage <command> <option>

Where <command> is one of:
     -d, --deploy     Build the Lambda's (NPM Install and Webpack) and Deploy the CDK
     -l, --lambda     Build the Lambda's (NPM Install and Webpack)

Where <option> is one of:
     -v, --verbose           Verbose Output
     --stack=<stack>     Optional. Deploy specific stack (default: all)
     --env=<env>          Optional. Deploy to specific environment(default: aws default)

npm run deploy -- <command>
npm run deploy -- <command> <option>
npm run deploy -- --help

Default commands

  • npm run build compile typescript to js
  • npm run watch watch for changes and compile
  • cdk deploy deploy this stack to your default AWS account/region
  • cdk diff compare deployed stack with current state
  • cdk synth emits the synthesized CloudFormation template

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published