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.124.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | a5c50acb884727e3aa60abe378b901ba7cfea597ffd8fb03abbce25111c51be2 |
|
MD5 | edcc1837cf9173e2ec308b13ac3a6278 |
|
BLAKE2b-256 | 20817fc53cdafac693124b80e38492ae2970a63f69b09137f31736ce79b57602 |
Close
Hashes for aws_cdk.aws_s3_notifications-1.124.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 73fc7f391adb65ac12c5b48ac6d94b6bfa81b32dd8c925b41bd241cd955f4b91 |
|
MD5 | 29d853c880b355c8db5ca204fec76485 |
|
BLAKE2b-256 | 52917eb98332dacaccbf70e039fd154d71f6e6c0e0fc220e1124aeb37e1fe064 |