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. 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.18.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 319ae302259578bfb0d1028e125c4acf58ee5c6c6efeb4eab90d3b1313db7cfe |
|
MD5 | 342f46d1f0f44af40f2c8b28aca70286 |
|
BLAKE2b-256 | 6f99411d7852c2e18decf37759bdb06f22334257cb15130d612135aead51aad4 |
Close
Hashes for aws_cdk.aws_s3_notifications-1.18.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 45b30eeeda5cc1286a3eeccd248b11d2441c9b1097ab2ae059629ad9138c0408 |
|
MD5 | e8ec383e801dfea104d9e3c3b030b7c8 |
|
BLAKE2b-256 | 2037cd33a0aaaf2e846fd807191b491ef4503d1d40b54270357fa15fc938370c |