UNPKG

aws-cdk-lib

Version:

Version 2 of the AWS Cloud Development Kit library

14 lines (13 loc) 365 B
import { 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; }