Interface IDestination

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

@Generated(value="jsii-pacmak/1.104.0 (build e79254c)", date="2024-11-20T14:04:26.995Z") @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.