Closed rantoniuk closed 2 years ago
The CDK Toolkit resolves those references, it's not something your app is responsible for. You could do it in TypeScript, as you show, but letting the CDK Toolkit do it works the same in all languages. I don't believe there's any reason to change this. Sorry!
The bootstrapping.md guide shows examples like this for TS:
This is however not Typescript friendly and it (imho) should be expressed using backticks and Aws static class references:
Happy to make a PR if you agree on the approach.