I have created a CDK stack that will be deployed in multiple regions. One of the constructs shall only be deployed in one region. In Cloudformation I'd simply add a Condition to the resource, but I haven't found a way to do something similar with CDK constructs.
It is possible to define a CfnCondition
and add it to CfnResource
s, but I how do I add conditions to constructs like lambda functions?