1 | import * as sns from '@aws-cdk/aws-sns';
|
2 | import { SubscriptionProps } from './subscription';
|
3 |
|
4 |
|
5 |
|
6 | export interface EmailSubscriptionProps extends SubscriptionProps {
|
7 | |
8 |
|
9 |
|
10 |
|
11 |
|
12 |
|
13 | readonly json?: boolean;
|
14 | }
|
15 |
|
16 |
|
17 |
|
18 |
|
19 |
|
20 | export declare class EmailSubscription implements sns.ITopicSubscription {
|
21 | private readonly emailAddress;
|
22 | private readonly props;
|
23 | constructor(emailAddress: string, props?: EmailSubscriptionProps);
|
24 | /**
|
25 | * Returns a configuration for an email address to subscribe to an SNS topic
|
26 | */
|
27 | bind(_topic: sns.ITopic): sns.TopicSubscriptionConfig;
|
28 | }
|