CodePipeline CDK: What class implements INotificationRuleTarget?
0
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.
https://docs.aws.amazon.com/cdk/api/v1/dotnet/api/Amazon.CDK.AWS.CodeStarNotifications.html
The CodeStarNotifications library does not appear to have a corresponding class to that interface.
What's the class to use?
asked 12 days ago3 views
1 Answers
0
Accepted Answer
It is the SNS.Topic class itself that implements INotificationRuleTarget.
https://docs.aws.amazon.com/cdk/api/v2/dotnet/api/Amazon.CDK.AWS.SNS.Topic.html
answered 9 days ago
Relevant questions
How do you set a lifecycle policy on CDK Pipeline input?
asked 5 months agoCloudWatch Alarm Metadata in notifications
Accepted Answerasked 2 months agoManual Approval step - Ability to customize email body programmatically
asked 2 years agoCodePipeline CDK: What class implements INotificationRuleTarget?
Accepted Answerasked 12 days agoAuto Scaling Group SNS Notifications not being sent
asked 16 days agoProper handling of SES bounces sent to sender's reply address (when already using SNS service to handle bounces)
Accepted Answerasked 5 months agoHow to use AWS CDK to compile and deploy a typescript api with dependencies to lambda?
asked 4 months agoCodePipeline activity notification JSON ends up malformed at Microsoft Teams
Accepted Answerasked 4 months agoCloudformation: connect lambda to an exisitng SNS topic ?
asked 3 years agoCreate a notification once CloudFormation StackSet is finished
asked 4 months ago