Interface IEventSource

All Superinterfaces:
software.amazon.jsii.JsiiSerializable
All Known Subinterfaces:
IEventSource.Jsii$Default
All Known Implementing Classes:
ApiEventSource, DynamoEventSource, IEventSource.Jsii$Proxy, KinesisEventSource, ManagedKafkaEventSource, S3EventSource, S3EventSourceV2, SelfManagedKafkaEventSource, SnsEventSource, SqsEventSource, StreamEventSource

@Generated(value="jsii-pacmak/1.104.0 (build e79254c)", date="2024-12-17T21:37:33.441Z") @Stability(Stable) public interface IEventSource extends software.amazon.jsii.JsiiSerializable
An abstract class which represents an AWS Lambda event source.
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Interface
    Description
    static interface 
    Internal default implementation for IEventSource.
    static final class 
    A proxy class which represents a concrete javascript instance of this type.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    bind(IFunction target)
    Called by lambda.addEventSource to allow the event source to bind to this function.

    Methods inherited from interface software.amazon.jsii.JsiiSerializable

    $jsii$toJson
  • Method Details

    • bind

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

      Parameters:
      target - That lambda function to bind to. This parameter is required.