This is a blank project for CDK development with TypeScript.
The cdk.json
file tells the CDK Toolkit how to execute your app.
source .env # create from example.env
npm install
npx cdk bootstrap "aws://$CDK_DEFAULT_ACCOUNT/$CDK_DEFAULT_REGION"
npm run start
open "https://console.aws.amazon.com/omics/home?region=$CDK_DEFAULT_REGION#/runs"
open "https://console.aws.amazon.com/cloudformation/home?region=$CDK_DEFAULT_REGION#/stacks"
# lambdas
open "https://console.aws.amazon.com/lambda/home?region=$CDK_DEFAULT_REGION#/functions"
npm test
perform the jest unit testsnpm run build
compile typescript to jsnpm run watch
watch for changes and compile/testnpx cdk diff
compare deployed stack with current statenpx cdk synth
emits the synthesized CloudFormation template