Adds a synthesis warning annotation to a construct.
The construct to annotate
The warning message
if (isDeprecated) { addSynthWarning(this, 'This configuration is deprecated');} Copy
if (isDeprecated) { addSynthWarning(this, 'This configuration is deprecated');}
Adds a synthesis warning annotation to a construct.