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.89.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | ce79aa4ad3c095de62853edfa42b6695d8ed9a25a94a15c48ecd55dd37c0f853 |
|
MD5 | 9d6afd97854001d6b8823c7c94ea0e5c |
|
BLAKE2b-256 | 343383ef12e229c430e2679b6907ee1b49fd8ba3a1034b12441f6482c767237f |
Close
Hashes for aws_cdk.aws_s3_notifications-1.89.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ff50091f3cea9f50736c4c69af3b7c8773719e0b016268742387b07b54561e0f |
|
MD5 | 6dbddeb60383360c136b6ea3f51143e4 |
|
BLAKE2b-256 | 85c13fc9218e40f9849dedb46ea155430ca9b9978e1a718b2844053284595d05 |