Repository containing code used for the CDK Day 2023 talk "Inter-stack dependencies strategies in CDK".
The repository contains a CDK application with some commented code in the main file while have different examples in multiple subfolders in the lib/
folder. Here is the folders diostribution:
.
├── bin
└── lib
├── aspects
└── stacks
├── 01-basic-example
├── 02-db-example
├── 03-cloudfront-example
├── 04-alb-example
├── 05-manual-export
├── 06-static-values
├── 07-ssm-params
└── 08-cfn-dynamic-ref
Where the bin/main.ts
file contains the main CDK application program and each of the subfolders contain a stack-a.ts
and stack-b.ts
files with the represented example code for each case.
In order to use any of the examples you just need to go to the bin/main.ts
file and move from the desired example commented section.