Interface IDestination

All Superinterfaces:
software.amazon.jsii.JsiiSerializable
All Known Subinterfaces:
IDestination.Jsii$Default
All Known Implementing Classes:
EventBridgeDestination, IDestination.Jsii$Proxy, LambdaDestination, SnsDestination, SqsDestination

@Generated(value="jsii-pacmak/1.94.0 (build b380f01)", date="2024-02-14T19:10:18.826Z") @Stability(Stable) public interface IDestination extends software.amazon.jsii.JsiiSerializable
A Lambda destination.
  • Nested Class Summary

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

    Modifier and Type
    Method
    Description
    bind(software.constructs.Construct scope, IFunction fn)
    Binds this destination to the Lambda function.
    bind(software.constructs.Construct scope, IFunction fn, DestinationOptions options)
    Binds this destination to the Lambda function.

    Methods inherited from interface software.amazon.jsii.JsiiSerializable

    $jsii$toJson
  • Method Details

    • bind

      @Stability(Stable) @NotNull DestinationConfig bind(@NotNull software.constructs.Construct scope, @NotNull IFunction fn, @Nullable DestinationOptions options)
      Binds this destination to the Lambda function.

      Parameters:
      scope - This parameter is required.
      fn - This parameter is required.
      options -
    • bind

      @Stability(Stable) @NotNull DestinationConfig bind(@NotNull software.constructs.Construct scope, @NotNull IFunction fn)
      Binds this destination to the Lambda function.

      Parameters:
      scope - This parameter is required.
      fn - This parameter is required.