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 may have issues. 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.13.1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | c2d010cab000f17cc868903e570da5d56b931fe66447189fa5be1e7b192b143b |
|
MD5 | 30f7dc17efb6ab583f4f3b7a2d9e3972 |
|
BLAKE2b-256 | d509dfb35a14ea6c9a45062e469415e18d30087bbf896ee6420c434aa017baf3 |
Close
Hashes for aws_cdk.aws_s3_notifications-1.13.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 980d6dcff3591289ac3a4753aa69387bfac8b482350c5f611e21ca999db39457 |
|
MD5 | 203b8c761338c081f92551bc801a02f5 |
|
BLAKE2b-256 | 5864990414c261922edf0422714853cf2585186252b31e69bfc4ac6ee4b02cf0 |