aws-cdk-lib.aws_lambda_event_sources.StreamEventSource

class StreamEventSource

LanguageType name
.NETAmazon.CDK.AWS.Lambda.EventSources.StreamEventSource
Gogithub.com/aws/aws-cdk-go/awscdk/v2/awslambdaeventsources#StreamEventSource
Javasoftware.amazon.awscdk.services.lambda.eventsources.StreamEventSource
Pythonaws_cdk.aws_lambda_event_sources.StreamEventSource
TypeScript (source)aws-cdk-lib » aws_lambda_event_sources » StreamEventSource

Implements IEventSource

Implemented by DynamoEventSource, KinesisEventSource, ManagedKafkaEventSource, SelfManagedKafkaEventSource

Use an stream as an event source for AWS Lambda.

Initializer (protected)

super(props: StreamEventSourceProps)

Parameters

  • props StreamEventSourceProps

Properties

NameTypeDescription
propsStreamEventSourceProps

props

Type: StreamEventSourceProps

Methods

NameDescription
bind(_target)Called by lambda.addEventSource to allow the event source to bind to this function.
protected enrichMappingOptions(options)

bind(_target)

public bind(_target: IFunction): void

Parameters

  • _target IFunction

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


protected enrichMappingOptions(options)

protected enrichMappingOptions(options: EventSourceMappingOptions): EventSourceMappingOptions

Parameters

  • options EventSourceMappingOptions

Returns

  • EventSourceMappingOptions