CodePipeline CDK: What class implements INotificationRuleTarget?


We are trying to establish a pipeline notification rule to SNS topic to Microsoft Teams channel (via Lambda function). This has already been accomplished multiple times with manual configuration, but now we want to implement it with automation with CDK.

The NotifyOnExecutionStateChange() wants an INotificationRuleTarget, but I cannot find anything that implements that interface.

The CodeStarNotifications library does not appear to have a corresponding class to that interface.

What's the class to use?

asked 2 years ago348 views
1 Answer
Accepted Answer

It is the SNS.Topic class itself that implements INotificationRuleTarget.

answered 2 years ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions