Bucket Notifications API for AWS S3
Project description
S3 Bucket Notifications Destinations
---This module includes integration classes for using Topics, Queues or Lambdas as S3 Notification Destinations.
Example
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 https://github.com/aws/jsii/issues/826
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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Close
Hashes for aws-cdk.aws-s3-notifications-1.126.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 00da60d0a365dbdb514653e829f2a368dcca6eaa5e07d25712a456931d6c803e |
|
MD5 | 45a4edfc999a44d3b437f5edb5d709d5 |
|
BLAKE2b-256 | e7ad5bfcd65f27f961dbffd9beea371582b03f038037a516f25258437415ea76 |
Close
Hashes for aws_cdk.aws_s3_notifications-1.126.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 43223ac88d5f513bf2c036dd2aa638c047a876555b802892270a558c0b8dc76a |
|
MD5 | e127e394698f150b72650b892959c266 |
|
BLAKE2b-256 | 90135ab92bd73f22c9936f5df9f97f9306d0f18e38bee8d8cc839794ae92e9f0 |