UNPKG

534 BTypeScriptView Raw
1import { IEventSourceMapping } from './event-source-mapping';
2import { IFunction } from './function-base';
3/**
4 * A destination configuration
5 */
6export 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 */
15export interface IEventSourceDlq {
16 /**
17 * Returns the DLQ destination config of the DLQ
18 */
19 bind(target: IEventSourceMapping, targetHandler: IFunction): DlqDestinationConfig;
20}