Interface IBucketNotificationDestination

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

@Generated(value="jsii-pacmak/1.97.0 (build 729de35)", date="2024-04-18T17:54:24.124Z") @Stability(Stable) public interface IBucketNotificationDestination extends software.amazon.jsii.JsiiSerializable
Implemented by constructs that can be used as bucket notification destinations.
  • Method Details

    • bind

      @Stability(Stable) @NotNull BucketNotificationDestinationConfig bind(@NotNull software.constructs.Construct scope, @NotNull IBucket bucket)
      Registers this resource to receive notifications for the specified bucket.

      This method will only be called once for each destination/bucket pair and the result will be cached, so there is no need to implement idempotency in each destination.

      Parameters:
      scope - This parameter is required.
      bucket - The bucket object to bind to. This parameter is required.