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.58.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8469c583fd3c94c8b455736cc1483e411ca0b2886b318b60ac61fa885f290290 |
|
MD5 | ba16fa66b9a20d8460754fe770e40f8c |
|
BLAKE2b-256 | ecc9edbb189895fe3c214df2bb12e8134b5e54ccc0ae6034134eb81e08e72495 |
Close
Hashes for aws_cdk.aws_s3_notifications-1.58.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9705d2bc2661527fc3504a3fb97750107d4d3b9539cbc1c29bf0d5e054a64f0e |
|
MD5 | afe0e694f54c7eed45104ac97945336a |
|
BLAKE2b-256 | da7bce2a0ca78dd614ff0846a56b8180a8d0932c3e82c3d2e2f3fb9afbc81eab |