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.26.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 324839579dd8b0150d15b49c57cae581e8626467c3930a7b891f99e9a829b672 |
|
MD5 | d10f7619ce439e096e5ec2649039838f |
|
BLAKE2b-256 | 443a4b3c4b06fb6515aab2e6f4f2f4b08cb3d1c059d693fdee09a84d4715f866 |
Close
Hashes for aws_cdk.aws_s3_notifications-1.26.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 878026dfc3aadd75363d047c6472d091f475a2e23e638dbb6663b53a8ad512bb |
|
MD5 | c6290d8bc9e9ae4df0b92c19b7890723 |
|
BLAKE2b-256 | f7f28037d0ae5d86e32eb5827fa7d235297fd8e3ffe603efbe21e80f4575ec92 |