Skip to main content

Bucket Notifications API for AWS S3

Project description

S3 Bucket Notifications Destinations


Stability: Stable

This module includes integration classes for using Topics, Queues or Lambdas as S3 Notification Destinations.


The following example shows how to send a notification to an SNS topic when an object is created in an S3 bucket:

# Example automatically generated without compilation. See
import aws_cdk.aws_s3_notifications as s3n

bucket = s3.Bucket(stack, "Bucket")
topic = sns.Topic(stack, "Topic")

bucket.add_event_notification(s3.EventType.OBJECT_CREATED_PUT, s3n.SnsDestination(topic))

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for, version 1.22.0
Filename, size File type Python version Upload date Hashes
Filename, size aws_cdk.aws_s3_notifications-1.22.0-py3-none-any.whl (40.9 kB) File type Wheel Python version py3 Upload date Hashes View hashes
Filename, size (41.6 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page