This is a blank project for CDK development with TypeScript.
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
Prerequisites:
- AWS account
- an IAM user with necessary credentials and generated access key id & secrey access key.
Assume you have docker and you don't want to install any other tools in your local PC
- copy work-on.sh to your local PATH
- run
work-on.sh aws-cdk:2.78.0
ready to work inside the container
- if you haven't setup your aws cli
aws configure
- deploy
git clone https://github.com/arief-hidayat/ariefh-infra.git && cd ariefh-infra
cdk bootstrap
cdk synth
cdk deploy