class StreamEventSource
Language | Type name |
---|---|
![]() | Amazon.CDK.AWS.Lambda.EventSources.StreamEventSource |
![]() | github.com/aws/aws-cdk-go/awscdk/v2/awslambdaeventsources#StreamEventSource |
![]() | software.amazon.awscdk.services.lambda.eventsources.StreamEventSource |
![]() | aws_cdk.aws_lambda_event_sources.StreamEventSource |
![]() | aws-cdk-lib » 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.
protected enrichMappingOptions(options)
protected enrichMappingOptions(options: EventSourceMappingOptions): EventSourceMappingOptions
Parameters
- options
Event
Source Mapping Options
Returns