aws_codestarnotifications: Creating unreachable notification rules #31784
Labels
@aws-cdk/aws-codestarnotifications
bug
This issue is a bug.
closing-soon
This issue will automatically close in 4 days unless further comments are made.
p2
response-requested
Waiting on additional info and feedback. Will move to "closing-soon" in 7 days.
Describe the bug
The aws_cdk.aws_codestarnotifications NotificationRule and CfnNotificationRule constucts both create notification rules which are unable to reach a sns target.
The correct policy is added to the sns topic according to the docs but the topic is always unreachable.
https://docs.aws.amazon.com/dtconsole/latest/userguide/notification-target-create.html?icmpid=docs_acn_console_acp
Creating a sns topic target through the console works fine and if i describe a notification rule with a target created by the cdk it looks identical to the ui created target.
Regression Issue
Last Known Working CDK Version
No response
Expected Behavior
The sns topic should have an Active Notification target status.
Current Behavior
The target SNS topic is in an Unreachable Notification target status.
Reproduction Steps
Code example:
Possible Solution
No response
Additional Information/Context
No response
CDK CLI Version
2.162.1 (build 10aa526)
Framework Version
No response
Node.js Version
v20.18.0
OS
Ubuntu 24.04
Language
Python
Language Version
Python 3.12.3
Other information
No response
The text was updated successfully, but these errors were encountered: