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.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 61ebb8255a942da68a54a17d13628845fd89d711bcd63f1e896a4cf5806e90ae |
|
MD5 | 7559d707742fa0c1a82a1bee39064461 |
|
BLAKE2b-256 | 9a6a035056c2207421e23cdf2f9928a6e739be129fc86c0abd3e47cba37cde9d |
Close
Hashes for aws_cdk.aws_s3_notifications-1.16.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 36dbbfb14f932301705afecb98d80ee7b939daf7538b3f1ace34cec44632f2e4 |
|
MD5 | dc9bc0750b9ed57572caee168b9f9e97 |
|
BLAKE2b-256 | 5f74509777a66eda18c24ace272ae6c0319d842b8b59c4128129a2a425d01c51 |