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.129.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | c708d7d9ec04b10ab14a466cfff6f71d074b12e243919677d1cc70c55ee1339c |
|
MD5 | 2f70aef76eb774e67d907b96dac58eb8 |
|
BLAKE2b-256 | 800e7de400157ceb4a94c7522c492e0378161b2c78644b3c111982692bca2547 |
Close
Hashes for aws_cdk.aws_s3_notifications-1.129.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f22e995ab4474aa4a2191675955a33454288d17de3fcad62d0d1d3d734a42c9d |
|
MD5 | f18888a5d0d675d8203cb01c9f9ce805 |
|
BLAKE2b-256 | 486952039db1f92d3ac89b13f4996218f0b88890a645d9d789fdde2055c68cbd |