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.32.1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 69626494889942105a7ca6ca073337ce17d922b191d39f097f7714ffe17b48e5 |
|
MD5 | b3fda1799e758410b44787c337f55d14 |
|
BLAKE2b-256 | 9d1841e2748db728bfb4d433d861cdf39e05039ef8befc7a2377f49bc14b0dee |
Close
Hashes for aws_cdk.aws_s3_notifications-1.32.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9146d090203ccb3b592eee18d5a6e2a4d508bd6f27c787c89d5b565505dfa31e |
|
MD5 | 640015584f10d1452b60f50b4f78352f |
|
BLAKE2b-256 | 14e38ee5639953841497509fe89b4f2323cca4d208cf5d65447b2fb4bfff13f4 |