IBucketNotificationDestination

class aws_cdk.aws_s3.IBucketNotificationDestination(*args, **kwargs)

Bases: typing_extensions.Protocol

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

__init__(*args, **kwargs)

Methods

bind(scope, 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
Return type

BucketNotificationDestinationConfig