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.35.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 983faa78c1f1fe73fdebff4cfd51467066524f990623ad3031e0513adae2afe0 |
|
MD5 | 7e64dae865c3516b6c009e539d3077ca |
|
BLAKE2b-256 | 806589bf70aca2e66d5e874c3401dcb199609f8290716e97cc18f1b308a92f8f |
Close
Hashes for aws_cdk.aws_s3_notifications-1.35.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3bbff4f9fcef8043f97ebfca6f4d1acf16f4be32d2f634b818f34f39b0203607 |
|
MD5 | baae5941c64be615e4402dd976f28ec6 |
|
BLAKE2b-256 | 0e961e8249893ab0dd47e2fcdc7fc60b53de3c85d6a8953248162dd4a58cd474 |