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
Stream
Event 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.
MappingOptions(options)
protected enrichprotected enrichMappingOptions(options: EventSourceMappingOptions): EventSourceMappingOptions
Parameters
- options
Event
Source Mapping Options
Returns