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.48.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 45439e770ff4f4d2aa2998bba54a7de3dd37632f517046919ada4909a526f169 |
|
MD5 | 442a4f1c84af387c6c2c20cd1da11fe5 |
|
BLAKE2b-256 | 3c554971476d68642859a6afc26fe6be9d7d999dd3662d2889bbf941829a8f22 |
Close
Hashes for aws_cdk.aws_s3_notifications-1.48.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 64047f0ba844358ed94476f9be0df20f84ecea0efa49d1e327b0075feb7faa16 |
|
MD5 | cf6035feff0887140cbdb2ee0603ade1 |
|
BLAKE2b-256 | a2e25c355db31b5a4e466a52edcb89d983e32912fa39678149ffd3a50b288ebc |