You should explore the contents of this project. It demonstrates a CDK app with an instance of a stack (CdkBaseStack
)
which contains a VPC.
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
This project was generated for this blog post Provision an RDS Instance using the AWS CDK and Secrets