Welcome to your CDK TypeScript project
December 4, 2023 ยท View on GitHub
This is a blank project for CDK development with TypeScript.
The cdk.json file tells the CDK Toolkit how to execute your app.
Process
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"
Outputs
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"
Useful commands
npm testperform the jest unit testsnpm run buildcompile typescript to jsnpm run watchwatch for changes and compile/testnpx cdk diffcompare deployed stack with current statenpx cdk synthemits the synthesized CloudFormation template