aws-cdk-lib.aws_s3.IBucketNotificationDestination

interface IBucketNotificationDestination

LanguageType name
.NETAmazon.CDK.AWS.S3.IBucketNotificationDestination
Gogithub.com/aws/aws-cdk-go/awscdk/v2/awss3#IBucketNotificationDestination
Javasoftware.amazon.awscdk.services.s3.IBucketNotificationDestination
Pythonaws_cdk.aws_s3.IBucketNotificationDestination
TypeScript (source)aws-cdk-lib » aws_s3 » IBucketNotificationDestination

Implemented by LambdaDestination, SnsDestination, SqsDestination

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

Methods

NameDescription
bind(scope, bucket)Registers this resource to receive notifications for the specified bucket.

bind(scope, bucket)

public bind(scope: Construct, bucket: IBucket): BucketNotificationDestinationConfig

Parameters

  • scope Construct
  • bucket IBucket — The bucket object to bind to.

Returns

  • 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.