Example AWS CDK TypeScript code (IaC) for bootstrapping a personal AWS account (non-corporate setup, single account).
Copy cdk.context.template.json
to cdk.context.json
and configure the values to your env.
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