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.60.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 74673c0e29b61bd62829f31639a4d0f15b055c36be41657285efc4b75ef5580f |
|
MD5 | 3d02f90a81b4f2ab69aee72649253d2d |
|
BLAKE2b-256 | 4643ba60bbf4a1ef431b062d723bc7ce776251d761890c99270342ce565ad09f |
Close
Hashes for aws_cdk.aws_s3_notifications-1.60.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 574d45446fb892a775c95d3e2cf88b70750625ed41df5d244da55d2baefb6c19 |
|
MD5 | 140b12040b8417dbf0718cc87230fadc |
|
BLAKE2b-256 | 4660c283816da6144d2073bc58a3d91df4c3b0513e6cf51004dadbaa8d373ff9 |