- aws profile/credentials configured on your machine
- nodejs and npm installed https://nodejs.org/en/download/
- aws cdk installed
npm install -g aws-cdk
We also previously run:
cdk init app -l typescript
cdk bootstrap
Default readme below:
This is a blank project for TypeScript development with CDK.
The cdk.json
file tells the CDK Toolkit how to execute your app.
npm run build
compile typescript to jsnpm run watch
watch for changes and compilenpm run test
perform the jest unit testscdk deploy
deploy this stack to your default AWS account/regioncdk diff
compare deployed stack with current statecdk synth
emits the synthesized CloudFormation template