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 may have issues. 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.17.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | f0a992333f0a2033ba4f48d755676f68f81f0a827f8b89f1df8bb9481733ad24 |
|
MD5 | 21c242465885c2959866bf235cb65d96 |
|
BLAKE2b-256 | 7def31e042db79ec4afcc7510a805552d28d4f258d5f831e881f92c879d5f2e4 |
Close
Hashes for aws_cdk.aws_s3_notifications-1.17.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3ea4cbbbf51d6333cdf8552d74340074de55b3377d3eec4f622a40fa8852178a |
|
MD5 | 2a35d615cd50856b0cd964ded05b28f1 |
|
BLAKE2b-256 | 2715b3899af9965faafa6847fd837810efbc8735751928048ffa06759151b526 |