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.84.0 (build 5404dcf)", date="2023-06-19T16:30:37.683Z") @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 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.