UNPKG

aws-cdk-lib

Version:

Version 2 of the AWS Cloud Development Kit library

25 lines (24 loc) 792 B
import * as constructs from 'constructs'; /** * Information about the SNS topic or AWS Chatbot client associated with a notification target. */ export interface NotificationRuleTargetConfig { /** * The target type. Can be an Amazon SNS topic or AWS Chatbot client. */ readonly targetType: string; /** * The Amazon Resource Name (ARN) of the Amazon SNS topic or AWS Chatbot client. */ readonly targetAddress: string; } /** * Represents a notification target * That allows AWS Chatbot and SNS topic to associate with this rule target. */ export interface INotificationRuleTarget { /** * Returns a target configuration for notification rule. */ bindAsNotificationRuleTarget(scope: constructs.Construct): NotificationRuleTargetConfig; }