# INotificationRuleTarget

Represents a notification target That allows AWS Chatbot and SNS topic to associate with this rule target.

Implemented by: [SlackChannelConfiguration](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_chatbot.SlackChannelConfiguration.html), [Topic](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_sns.Topic.html), [TopicBase](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_sns.TopicBase.html)
Used as argument in: [INotificationRule.addTarget](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_codestarnotifications.INotificationRule.html#addtarget), [IPipeline.notifyOn](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_codepipeline.IPipeline.html#notifyon), IPipeline.notifyOnAnyActionStateChange, IPipeline.notifyOnAnyManualApprovalStateChange, IPipeline.notifyOnAnyStageStateChange, IPipeline.notifyOnExecutionStateChange, IProject.notifyOn, IProject.notifyOnBuildFailed, IProject.notifyOnBuildSucceeded, IRepository.notifyOn, IRepository.notifyOnApprovalRuleOverridden, IRepository.notifyOnApprovalStatusChanged, IRepository.notifyOnBranchOrTagCreated, IRepository.notifyOnBranchOrTagDeleted, IRepository.notifyOnPullRequestComment, IRepository.notifyOnPullRequestCreated, IRepository.notifyOnPullRequestMerged, Repository.notifiyOnPullRequestMerged

- Source: [`aws-codestarnotifications/lib/notification-rule-target.ts`](https://github.com/aws/aws-cdk/blob/v2.278.0/packages/aws-cdk-lib/aws-codestarnotifications/lib/notification-rule-target.ts#L22)

## Methods

- `bindAsNotificationRuleTarget(scope: Construct): NotificationRuleTargetConfig` — Returns a target configuration for notification rule.
