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.27.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | ee489d45f858192126d36a527d9459fdb88565cbd0ef8a4893ee04d180a5e145 |
|
MD5 | cec415150cb782693930cfcfe546c89b |
|
BLAKE2b-256 | c190e131d5a8852a7258eecc7f7ef1c7a3c402324c845dda0d0405e204e357cc |
Close
Hashes for aws_cdk.aws_s3_notifications-1.27.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 852651e28544612372c3356822792b61fd394e62c9ef3976a448a016f1f15782 |
|
MD5 | a3c44d9ccddb1ef94dfd00109ed17c65 |
|
BLAKE2b-256 | 726aa0067f47ab7d8a7db2d06837116cc95dbcf247d2102c032a999da507034b |