Use the AWS CDK to define your cloud resources in a familiar programming language.
Pre-requisite: Visit https://docs.aws.amazon.com/cdk/latest/guide/getting_started.html#getting_started_prerequisites
Amazon S3 Bucket with versioning enabled and SSE enabled with Customer Managed CMK. Future updates to include additional resources.
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