class StreamEventSource
| Language | Type name |
|---|---|
.NET | Amazon.CDK.AWS.Lambda.EventSources.StreamEventSource |
Java | software.amazon.awscdk.services.lambda.eventsources.StreamEventSource |
Python | aws_cdk.aws_lambda_event_sources.StreamEventSource |
TypeScript (source) | @aws-cdk/aws-lambda-event-sources » StreamEventSource |
Implements
IEvent
Implemented by
Dynamo, Kinesis, Managed, Self
Use an stream as an event source for AWS Lambda.
Initializer (protected)
super(props: StreamEventSourceProps)
Parameters
- props
StreamEvent Source Props
Properties
| Name | Type | Description |
|---|---|---|
| props | Stream |
props
Type:
Stream
Methods
| Name | Description |
|---|---|
| bind(_target) | Called by lambda.addEventSource to allow the event source to bind to this function. |
| protected enrich |
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
EventSource Mapping Options
Returns

.NET
Java
Python
TypeScript (