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.128.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 52fa1604a9aace5e1ec006b2aef7cb8eac4f0aeb8207e4efd77d64719f78c482 |
|
MD5 | e59ca32fc92fbeb6d47e7c04eb2c905a |
|
BLAKE2b-256 | 058844cf43643b5837daba78ce0c9119579266c66aef3b2d92e0b19f246e606e |
Close
Hashes for aws_cdk.aws_s3_notifications-1.128.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 38da4c5156268c066947263cf0a543d7e1bd07a40f6c0f3d809ee6901034e2ea |
|
MD5 | 9fdec194cd6ba7a9a824648cc4213483 |
|
BLAKE2b-256 | a6f5bd33cb52f335530926524c91b0d39465ec29a115e9f483c95de9ae1362d7 |