aws-cdk-lib: NotificationARN must be passed by constructor to actually send notifications #26741
Labels
@aws-cdk/core
Related to core CDK functionality
documentation
This is a problem with documentation.
effort/small
Small work item – less than a day of effort
feature-request
A feature should be added or improved.
p3
Describe the issue
Spent quite a bit of time on this, thinking that i was doing something wrong. I thought that we could just push to the notificationARNs array, but turns out the cloudformation output isn't produced in the template. I had to pass the array from the constructor (as props) to make it work. I feel like this should be mentioned in the documentation, and i'm willing to submit a PR myself.
Links
https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.NestedStack.html
The text was updated successfully, but these errors were encountered: