Skip to content

mrgrain/deno-cdk-app

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

AWS CDK with Deno

Example repository how to use the AWS CDK with Deno.

Getting started

It's as easy as:

deno task cdk synth

app.ts contains the CDK app using Deno
cdk.json points CDK at the Deno app: deno run -A app.ts

Run the CLI directly

Instead of using a task, the CLI can be invoked directly:

deno run -A npm:aws-cdk synth

Install the CLI globally

It's possible to globally install the CLI:

deno install -frA -n cdk npm:aws-cdk

The same command will also update if a newer version is available.

Now using CDK can be shortened to cdk synth.
However global installation is not recommended, because the versions of the cli and lib can diverge easily.

About

Test repo on how to run CDK with Deno

Topics

Resources

License

Stars

Watchers

Forks