IEventSource

class aws_cdk.aws_lambda.IEventSource(*args, **kwds)

Bases: typing_extensions.Protocol

An abstract class which represents an AWS Lambda event source.

Methods

bind(target)

Called by lambda.addEventSource to allow the event source to bind to this function.

Parameters

target (IFunction) – That lambda function to bind to.

Return type

None