public static final class IBucketNotificationDestination.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements IBucketNotificationDestination.Jsii$Default
IBucketNotificationDestination.Jsii$Default, IBucketNotificationDestination.Jsii$Proxy
Modifier | Constructor and Description |
---|---|
protected |
Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef) |
Modifier and Type | Method and Description |
---|---|
BucketNotificationDestinationConfig |
bind(Construct scope,
IBucket bucket)
Registers this resource to receive notifications for the specified bucket.
|
public final BucketNotificationDestinationConfig bind(Construct scope, IBucket 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.
bind
in interface IBucketNotificationDestination
bind
in interface IBucketNotificationDestination.Jsii$Default
scope
- This parameter is required.bucket
- The bucket object to bind to. This parameter is required.