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.102.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4c9abebc90da284d1bef23f14519f8c97a4f247a3d41cc8e7fe4007dbd12e1aa |
|
MD5 | f0e3b3e57fd828f12519d6526771c686 |
|
BLAKE2b-256 | d31bb1b199ff39681082443c9ff71d74c15a99589a96334074e4011114e9d420 |
Close
Hashes for aws_cdk.aws_s3_notifications-1.102.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0631f92cfdf191116161716125a44b116c354e5e7117135c31e406899496d18e |
|
MD5 | 83898b87eba487c0ad0790d1f2566184 |
|
BLAKE2b-256 | 44711cc164a2e0bfc563c1c2b1f42ca43779b1c230d9e23df1dc2e93663fd5f1 |