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. 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.17.1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 45841e5f7dfbf1eb5c466ded144cfce194fb8bece183bcaa1a9425bc799a30b5 |
|
MD5 | 8b055bd411ca6295edf7a3d62075b63e |
|
BLAKE2b-256 | 29b049ea965cf0dc417b40117de7a4ab241ab963c1182c4796ef811f1745d4e5 |
Close
Hashes for aws_cdk.aws_s3_notifications-1.17.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6f60641a18061ed64515e33fe621c01be83af465cf928d2a1ebe5626db96b4bf |
|
MD5 | cc5b2c9a2be7e18883fa127179280e74 |
|
BLAKE2b-256 | 7a1926fc975340b8fd5c30b86627c0bae44712383030aaf1d6ca94f3042ea29b |