- Install CDK globally:
npm install -g aws-cdk
- Install local Node.js dependencies:
npm install
- Build the project:
npm run build
- Bootstrap the CDK Toolkit into your AWS account:
cdk bootstrap
- Deploy the stack:
cdk deploy
npm run build
compile project todist
npm run clean
delete everything incdk.out
anddist
npm run watch
watch for changes and compilecdk deploy
deploy this stack to your default AWS account/regioncdk diff
compare deployed stack with current statecdk synth
emits the synthesized CloudFormation template