aws-cdk-lib.aws_lambda.IEventSource

interface IEventSource

LanguageType name
.NETAmazon.CDK.AWS.Lambda.IEventSource
Gogithub.com/aws/aws-cdk-go/awscdk/v2/awslambda#IEventSource
Javasoftware.amazon.awscdk.services.lambda.IEventSource
Pythonaws_cdk.aws_lambda.IEventSource
TypeScript (source)aws-cdk-lib » aws_lambda » IEventSource

Implemented by ApiEventSource, DynamoEventSource, KinesisEventSource, ManagedKafkaEventSource, S3EventSource, SelfManagedKafkaEventSource, SnsEventSource, SqsEventSource

An abstract class which represents an AWS Lambda event source.

Methods

NameDescription
bind(target)Called by lambda.addEventSource to allow the event source to bind to this function.

bind(target)

public bind(target: IFunction): void

Parameters

  • target IFunction — That lambda function to bind to.

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