This is a test project for CDK development with TypeScript.
I connected the s3 bucket and lambda through aws CDK.
-
npm run build
compile typescript to js -
npm run watch
watch for changes and compile -
npm run test
perform the jest unit tests -
cdk deploy <stackname> --profile dev
deploy this stack to your default AWS account/region -
cdk diff
compare deployed stack with current state -
cdk synth
emits the synthesized CloudFormation template -
npm run build && cdk synth
-
cdk deploy <stackname> --profile dev
deploy this stack to your default AWS account/region -
cdk destroy <stackname> --profile dev
destroy this stack to your default AWS account/region