interface IBucketNotificationDestination
Language | Type name |
---|---|
.NET | Amazon.CDK.AWS.S3.IBucketNotificationDestination |
Go | github.com/aws/aws-cdk-go/awscdk/v2/awss3#IBucketNotificationDestination |
Java | software.amazon.awscdk.services.s3.IBucketNotificationDestination |
Python | aws_cdk.aws_s3.IBucketNotificationDestination |
TypeScript (source) | aws-cdk-lib » aws_s3 » IBucketNotificationDestination |
Implemented by
Lambda
, Sns
, Sqs
Implemented by constructs that can be used as bucket notification destinations.
Methods
Name | Description |
---|---|
bind(scope, bucket) | Registers this resource to receive notifications for the specified bucket. |
bind(scope, bucket)
public bind(scope: Construct, bucket: IBucket): BucketNotificationDestinationConfig
Parameters
Returns
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.