25 lines
797 B
TypeScript
25 lines
797 B
TypeScript
import type * 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;
|
|
}
|