This project well demonstrates the use of AWS CDK features by developing CDK App using AWS resources such AWS DynamoDB, AWS Lambda, AWS ApiGateway services as well as AWS CDK Constructs. The CDK supports Typescript, Python, C# and Java as of writing and this project uses Typescipt for CDK code.
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 tests
cdk bootstrap
creates CDK stack, needed to run once in the beginningcdk deploy
deploy this stack to your default AWS account/regioncdk diff
compare deployed stack with current statecdk synth
emits the synthesized CloudFormation templatecdk synth
emits the synthesized CloudFormation template