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