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.64.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | e6b6477f41afd3ffe2925a1574fd99ed519b8e10cf5b357a1c5b0e5c9e556f00 |
|
MD5 | 774949525bc6de102a35dbcbf991bad1 |
|
BLAKE2b-256 | 5c71f653a28cf3fe96d4666f4fc598466ceaf135b9539c8854a826e66603c61c |
Close
Hashes for aws_cdk.aws_s3_notifications-1.64.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0050f61f2a2bc67e618aae4543d3f457dae1003867fa7c08d9feee9ed76b1778 |
|
MD5 | 143be19037beba36fc51d24bad12b8d4 |
|
BLAKE2b-256 | af8c1f54beb655d155d8b52aa78e8000cdbe9f5cfe37caf399fd7698456c27bd |