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.131.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3ccf5571131ae72369fd913916b54f8298a33ad4f2bd54233c789ef6cc04a143 |
|
MD5 | c12d8b8163e6a7d90e8f927e932cac42 |
|
BLAKE2b-256 | dc0774f9cb822ca9e95ebc2f8b17b16d0974fa591314846d96446727fb292a2d |
Close
Hashes for aws_cdk.aws_s3_notifications-1.131.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | fbb79f70d6735acdf10962613668bd6001a67da8336811951ccaa2eda62bdc2e |
|
MD5 | 131feb39339aaeb6ee8a6d0134497650 |
|
BLAKE2b-256 | 38cf1504aed95c2eb321f4814b0e22be79ace18ddc15b6340756042ad2d1b43c |