Skip to content
v2.274.0

IBucketNotificationDestination Interface ​

Implemented by constructs that can be used as bucket notification destinations.

Methods ​

bind(scope: Construct, bucket: IBucketRef): BucketNotificationDestinationConfigdef bind(self, scope: Construct, bucket: IBucketRef) -> BucketNotificationDestinationConfigpublic BucketNotificationDestinationConfig bind(Construct scope, IBucketRef bucket)public BucketNotificationDestinationConfig Bind(Construct scope, IBucketRef bucket)func Bind(Scope Construct, Bucket IBucketRef) BucketNotificationDestinationConfig#
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.

1 parameter

Parameters

  • bucketbucketbucketbucketBucket — The bucket object to bind to.