Class StreamEventSource
Use an stream as an event source for AWS Lambda.
Inheritance
System.Object
StreamEventSource
Implements
Namespace: Amazon.CDK.AWS.Lambda.EventSources
Assembly: Amazon.CDK.AWS.Lambda.EventSources.dll
Syntax (csharp)
public abstract class StreamEventSource : DeputyBase, IEventSource
Syntax (vb)
Public MustInherit Class StreamEventSource
Inherits DeputyBase
Implements IEventSource
Synopsis
Constructors
StreamEventSource(IStreamEventSourceProps) | |
StreamEventSource(ByRefValue) | Used by jsii to construct an instance of this class from a Javascript-owned object reference |
StreamEventSource(DeputyBase.DeputyProps) | Used by jsii to construct an instance of this class from DeputyProps |
Properties
Props |
Methods
Bind(IFunction) | Called by |
EnrichMappingOptions(IEventSourceMappingOptions) |
Constructors
StreamEventSource(IStreamEventSourceProps)
StreamEventSource(ByRefValue)
Used by jsii to construct an instance of this class from a Javascript-owned object reference
protected StreamEventSource(ByRefValue reference)
Parameters
- reference Amazon.JSII.Runtime.Deputy.ByRefValue
The Javascript-owned object reference
StreamEventSource(DeputyBase.DeputyProps)
Used by jsii to construct an instance of this class from DeputyProps
protected StreamEventSource(DeputyBase.DeputyProps props)
Parameters
- props Amazon.JSII.Runtime.Deputy.DeputyBase.DeputyProps
The deputy props
Properties
Props
Methods
Bind(IFunction)
Called by lambda.addEventSource
to allow the event source to bind to this function.
public abstract void Bind(IFunction target)
Parameters
- target IFunction
EnrichMappingOptions(IEventSourceMappingOptions)
protected virtual IEventSourceMappingOptions EnrichMappingOptions(IEventSourceMappingOptions options)
Parameters
- options IEventSourceMappingOptions
Returns