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.105.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | f3ca7cac3ba4720809175db9f2e4622062aacda4dd7de5ed1eb38c8ace602bbc |
|
MD5 | 4ad1239c4df76a6f491400e82efc059b |
|
BLAKE2b-256 | b50b4b19ed21c6f1da10bc898e7fc0280af2425fdff87d3cb96b0e3409838e82 |
Close
Hashes for aws_cdk.aws_s3_notifications-1.105.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | dfb1aa6357f117195afa9b6740bfb53e1daa7461753e273063a48b0723ffe16d |
|
MD5 | 181e80675d802b356a95ce9e8b8398a6 |
|
BLAKE2b-256 | 391c480b8b0d61c3d2c2190e5406d0f91d0f5d9aeef1d11d8f05861960d3d72c |