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.127.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | c0789c9cdba960e79066db940cfbc96abebf1cda902a5650b3b340797fe7041d |
|
MD5 | 4f03c74ff649da02995e09aa4dbaccd9 |
|
BLAKE2b-256 | 38843900e6cd0aa944e8cb598556422b398dac889fe864f05ac57fbbe49b7019 |
Close
Hashes for aws_cdk.aws_s3_notifications-1.127.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b9f1344112a54d83684c79cb96b65e650ca89870d4acc999195e4f1979079502 |
|
MD5 | 7ff2b07d4b2d310836e82ee84add5315 |
|
BLAKE2b-256 | 158d6a45f8f2b784f8c62c9987de5304e28ababefd614523ef6b196cdc539749 |