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.82.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 02241fb9fc2a688863120a491c4345f625f75e4dcf93db855a9148291ae07c0e |
|
MD5 | d5f2fcc9bb5b98971e52f2eb621b9c70 |
|
BLAKE2b-256 | 75fb871fa711fc24be0f0c09046b2d598b8137ef476d357df5c2ae95b79ef1c9 |
Close
Hashes for aws_cdk.aws_s3_notifications-1.82.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e3b9489137ea1ef9b0ac9ec2b857999fb80d5983827d719d486f7ba355abf2bc |
|
MD5 | a12d9047cd7510d9bb17a668a01df2f7 |
|
BLAKE2b-256 | db09262c95f164fc378fe0724a6d440d6130043520ef5d6b0a6ee7b74b8ba4de |