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.90.1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4c3de613338e9ee00711113acd974def9f18cd87615aca1c7b07875dce06b08d |
|
MD5 | 19c18ab2c18108e0e459a50ab47cddb5 |
|
BLAKE2b-256 | 504b4d00bb271cb995f7ca0d8d1e265ca5cc94279cea64e9ffd9a2430942804e |
Close
Hashes for aws_cdk.aws_s3_notifications-1.90.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 329a25a6af9b51c9614d236c775b134488379eafc3c31f3e261cc154aa91b5af |
|
MD5 | 867b9b547030ad3c8b652c545f55dee4 |
|
BLAKE2b-256 | d0a9f1efd605f84f5c4b214f3d3c584b4fd2777ae92ff8f25a48c014ad9cbf2b |