1 | import * as sns from '@aws-cdk/aws-sns';
|
2 | import { SubscriptionProps } from './subscription';
|
3 |
|
4 |
|
5 |
|
6 | export interface UrlSubscriptionProps extends SubscriptionProps {
|
7 | |
8 |
|
9 |
|
10 |
|
11 |
|
12 |
|
13 |
|
14 | readonly rawMessageDelivery?: boolean;
|
15 | |
16 |
|
17 |
|
18 |
|
19 |
|
20 | readonly protocol?: sns.SubscriptionProtocol;
|
21 | }
|
22 |
|
23 |
|
24 |
|
25 |
|
26 |
|
27 |
|
28 |
|
29 | export declare class UrlSubscription implements sns.ITopicSubscription {
|
30 | private readonly url;
|
31 | private readonly props;
|
32 | private readonly protocol;
|
33 | private readonly unresolvedUrl;
|
34 | constructor(url: string, props?: UrlSubscriptionProps);
|
35 | /**
|
36 | * Returns a configuration for a URL to subscribe to an SNS topic
|
37 | */
|
38 | bind(_topic: sns.ITopic): sns.TopicSubscriptionConfig;
|
39 | }
|