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.97.0 (build 729de35)", date="2024-04-18T17:54:19.250Z") @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.