1 | import { IEventSourceMapping } from './event-source-mapping';
|
2 | import { IFunction } from './function-base';
|
3 | /**
|
4 | * A destination configuration
|
5 | */
|
6 | export interface DlqDestinationConfig {
|
7 | /**
|
8 | * The Amazon Resource Name (ARN) of the destination resource
|
9 | */
|
10 | readonly destination: string;
|
11 | }
|
12 | /**
|
13 | * A DLQ for an event source
|
14 | */
|
15 | export interface IEventSourceDlq {
|
16 | /**
|
17 | * Returns the DLQ destination config of the DLQ
|
18 | */
|
19 | bind(target: IEventSourceMapping, targetHandler: IFunction): DlqDestinationConfig;
|
20 | }
|