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.96.0 (build 921e240)", date="2024-04-10T22:22:30.115Z") @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()