Files
agent-claw/cdk/node_modules/aws-cdk-lib/aws-lambda/lib/event-source.d.ts
2026-05-06 18:55:16 -05:00

14 lines
370 B
TypeScript

import type { IFunction } from './function-base';
/**
* An abstract class which represents an AWS Lambda event source.
*/
export interface IEventSource {
/**
* Called by `lambda.addEventSource` to allow the event source to bind to this
* function.
*
* @param target That lambda function to bind to.
*/
bind(target: IFunction): void;
}