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.96.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9b5fb5de3f31efecc8a8b0ca017c35c79e6f00aad13ef30a9fb6e55012a38dc5 |
|
MD5 | 28692b7ae521cc47e1a3b263456f5408 |
|
BLAKE2b-256 | 66d06f6824216c4ec709134bf0d44e854465b4f6538e44cc8374a5509e5b4663 |
Close
Hashes for aws_cdk.aws_s3_notifications-1.96.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b6ac284bdfa6e7c6b412ed15d537c6217c135c8b246d2473e3e71f55522466e8 |
|
MD5 | 16137aef9564b63cf8600fe6c34108f6 |
|
BLAKE2b-256 | 285116a4406fde15bcf9d91271aafcf41d714478567adfa7f6d6b4d3bb4af999 |