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 may have issues. 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.16.2.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4f71279f8c3956630abb7e8369b25069a95d2b94a39182981b4b02b25f80a209 |
|
MD5 | a81c2bcbc0f2c6dcb1cf838123303772 |
|
BLAKE2b-256 | 75039cfe74bbc844e52218bb56abbd2730546cf3e7f801fc3ea8e7473458620c |
Close
Hashes for aws_cdk.aws_s3_notifications-1.16.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ca3131a0679cac6814d563e157628ac89426d2a6d77e4a054accd25a5c5052a2 |
|
MD5 | a87a5554db51512b434676812a765b4b |
|
BLAKE2b-256 | d0b0af62058ecb849bf542e1646dae13126b56a34e027a8c51f8e2717b06feb7 |