Class StreamEventSource

java.lang.Object
software.amazon.jsii.JsiiObject
software.amazon.awscdk.services.lambda.eventsources.StreamEventSource
All Implemented Interfaces:
IEventSource, software.amazon.jsii.JsiiSerializable
Direct Known Subclasses:
DynamoEventSource, KinesisEventSource, ManagedKafkaEventSource, SelfManagedKafkaEventSource

@Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)", date="2023-06-19T16:30:46.847Z") @Stability(Stable) public abstract class StreamEventSource extends software.amazon.jsii.JsiiObject implements IEventSource
Use an stream as an event source for AWS Lambda.
  • Constructor Details

    • StreamEventSource

      protected StreamEventSource(software.amazon.jsii.JsiiObjectRef objRef)
    • StreamEventSource

      protected StreamEventSource(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
    • StreamEventSource

      @Stability(Stable) protected StreamEventSource(@NotNull StreamEventSourceProps props)
      Parameters:
      props - This parameter is required.
  • Method Details

    • bind

      @Stability(Stable) public abstract void bind(@NotNull IFunction _target)
      Called by lambda.addEventSource to allow the event source to bind to this function.

      Specified by:
      bind in interface IEventSource
      Parameters:
      _target - This parameter is required.
    • enrichMappingOptions

      @Stability(Stable) @NotNull protected EventSourceMappingOptions enrichMappingOptions(@NotNull EventSourceMappingOptions options)
      Parameters:
      options - This parameter is required.
    • getProps

      @Stability(Stable) @NotNull protected StreamEventSourceProps getProps()