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.72.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 26f55416040fc81fcfdcb36f3a6b1ec55594d98ad7033f91b61a218650877b30 |
|
MD5 | 5a630a9d1222eb3d9495f3edc5a94e98 |
|
BLAKE2b-256 | 14a9e0d25e316606b42e3f4cfe87068bbdf40aa4e0318b046e12b0f0ee731035 |
Close
Hashes for aws_cdk.aws_s3_notifications-1.72.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 43f505dad5b80d181537dfc671903e2f3ae66adb7dc6a84b5d059bd061f9c4b6 |
|
MD5 | ee4b46be61c22ce1f9be875857a08894 |
|
BLAKE2b-256 | a7a1240302c3f404425ec5e18050d19ee8ef7b33d1152a0519a13976efc2d33e |