aws-cdk-lib
Version:
Version 2 of the AWS Cloud Development Kit library
21 lines (20 loc) • 534 B
TypeScript
import { IEventSourceMapping } from './event-source-mapping';
import { IFunction } from './function-base';
/**
* A destination configuration
*/
export interface DlqDestinationConfig {
/**
* The Amazon Resource Name (ARN) of the destination resource
*/
readonly destination: string;
}
/**
* A DLQ for an event source
*/
export interface IEventSourceDlq {
/**
* Returns the DLQ destination config of the DLQ
*/
bind(target: IEventSourceMapping, targetHandler: IFunction): DlqDestinationConfig;
}