A repository for an article on codewithyou.com
-
Clone the repository
-
Install the dependencies
npm install
- Create the CDK stack
npx cdk deploy \
--outputs-file ./cdk-outputs.json
-
Open the AWS CloudFormation Console and the stack should be created in your default region
-
Cleanup
npx cdk destroy
npm run build
compile typescript to jsnpm run watch
watch for changes and compilenpm run test
perform the jest unit testsnpx cdk deploy
deploy this stack to your default AWS account/regionnpx cdk diff
compare deployed stack with current statenpx cdk synth
emits the synthesized CloudFormation template