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.130.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | bb7858a4b61e61b09788f24b10d8c9cbcde84f8f4f9b0b6eb5a8c6a96bc3db51 |
|
MD5 | 92848ad8f14d5d14e6bdb48beac62591 |
|
BLAKE2b-256 | 357ccff0fef5cc455a78dd38c7be7bdfd672515d7a8912175d0a87e375da28fe |
Close
Hashes for aws_cdk.aws_s3_notifications-1.130.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 23e317c5d2aea59338d2b8223f54c7192de56cad7473c179fb5624215dc92da7 |
|
MD5 | 7470123e9bcd9f990e870f2627cc964c |
|
BLAKE2b-256 | d0a533b08a2545b5ed1e84020030a368aebf193402f6d1e13c0dcbdbd6d91be5 |