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.115.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | d04347f9cde8a055a513efa56e6135422c3635ad974d910bab51730223fa7a5a |
|
MD5 | 5a6a36deec3c827ef15417c7c90f0417 |
|
BLAKE2b-256 | 300a41c1fe92b2f9361de8947106bd910a66414ad1f7b1174b3f83561b4eb5ef |
Close
Hashes for aws_cdk.aws_s3_notifications-1.115.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0ba0a80f56042d71e36900821f39c0cef3eb1a05cb299751e1c082333bd4d77a |
|
MD5 | 3c5ef12e7dfb191d7e8124174585858b |
|
BLAKE2b-256 | 9cb6b08c100dce9514eb8eb7ddc46b2e59b3c85362b15bb6cd69b0c11dc6de39 |