How do I run my CDK app?
Clash Royale CLAN TAG #URR8PPP How do I run my CDK app? I created and built a new CDK project: mkdir myproj cd myproj cdk init --language typescript npm run build If I try to run the resulting javascript, I see the following: PS C:reposmyproj> node .binmyproj.js CloudExecutable/1.0 Usage: C:reposmyprojbinmyproj.js REQUEST REQUEST is a JSON-encoded request object. What is the right way to run my app? 2 Answers 2 You don't need to run your CDK programs directly, but rather use the CDK Toolkit instead. To synthesize an AWS CloudFormation from your app: cdk synth --app "node .binmyproj.js" To avoid re-typing the --app switch every time, you can setup a cdk.json file with: --app cdk.json { "app": "node .appmyproj.js" } You can also use the toolkit to deploy your app into an AWS environment: cdk deploy Or list all the stacks in your app: cdk ls The CDK application ...