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.21.1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | b9603e2daad2b1435dc8ad034163d478ee144f4009c0ecb545756e0a160b77fb |
|
MD5 | e78832fee738abde073642cd68473c19 |
|
BLAKE2b-256 | dc2e11f7d2a41a8e47912aebe1f5ed22d32578f2036ec55019046da18fd7f3ef |
Close
Hashes for aws_cdk.aws_s3_notifications-1.21.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e6b8b2bcc82fc618706ffa3e895ceafb9e492cc0c74d41d7b7e5a4c385568417 |
|
MD5 | 206de949cecf2d148ade8b74955a574b |
|
BLAKE2b-256 | ce8373fe63de3facfbce9db546cc9a607ae7c1d28b40687e0881ddb46875a317 |