@aws-cdk/aws-lambda
Version:
The CDK Construct Library for AWS::Lambda
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;
}