IEventSource

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

Bases: typing_extensions.Protocol

An abstract class which represents an AWS Lambda event source.

__init__(*args, **kwargs)

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