CDK: how to customize 3rd-party L3 constructs
If you’re using CDK, you should use L3 constructs to encapsulate common patterns and best practices in your architecture.
However, sometimes you’d find a 3rd-party L3 construct that does most of what you want, but you need to customize how it configures some of its resources. That can be tricky because you don’t own the source code, and the construct author might not be willing to make the changes you want.
In this article, let me show you an easy and effective way to do this without having to clone and maintain a copy of the construct yourself.