1 | import * as events from '@aws-cdk/aws-events';
|
2 | import * as sns from '@aws-cdk/aws-sns';
|
3 |
|
4 |
|
5 |
|
6 | export interface SnsTopicProps {
|
7 | |
8 |
|
9 |
|
10 |
|
11 |
|
12 | readonly message?: events.RuleTargetInput;
|
13 | }
|
14 |
|
15 |
|
16 |
|
17 |
|
18 |
|
19 |
|
20 |
|
21 |
|
22 |
|
23 |
|
24 | export declare class SnsTopic implements events.IRuleTarget {
|
25 | readonly topic: sns.ITopic;
|
26 | private readonly props;
|
27 | constructor(topic: sns.ITopic, props?: SnsTopicProps);
|
28 | /**
|
29 | * Returns a RuleTarget that can be used to trigger this SNS topic as a
|
30 | * result from an EventBridge event.
|
31 | *
|
32 | * @see https://docs.aws.amazon.com/eventbridge/latest/userguide/resource-based-policies-eventbridge.html#sns-permissions
|
33 | */
|
34 | bind(_rule: events.IRule, _id?: string): events.RuleTargetConfig;
|
35 | }
|