How to get the stack construct from node
#19262
-
I'm trying to apply some properties to all constructs of a certain type ( |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
See if this helps: https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.Stack.html#static-ofconstruct - "Looks up the first stack scope in which construct is defined" |
Beta Was this translation helpful? Give feedback.
-
Hello! Reopening this discussion to make it searchable. |
Beta Was this translation helpful? Give feedback.
See if this helps: https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.Stack.html#static-ofconstruct - "Looks up the first stack scope in which construct is defined"