CDK Best Practices

These come from the Open CDK repo. Most copied here are probably worthwhile knowning.

The CDK constants repo is also a great way to find constants for things like ServicePrinciples and ManagedPolicies.


  1. [Open CDK]
  2. CDK Examples
  3. CDK Constants
  4. Punchcard


  • split the bin directory so you have one command per app
  • split the lib by application
  • create a functions directory if you plan on importing lambda functions via code assets

- bin/ - create-serviceA.ts - create-serviceB.ts - lib - serviceA/ - serviceB/ - common/ - functions/ - func1/ - func2