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.31.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | c34882dad7ec6072674826384ea8eae927c6245ba5d48e1ace89f60a4ccbb173 |
|
MD5 | 2d9efce3fa63507dd04ed9c7cc9a55da |
|
BLAKE2b-256 | c997a8d6188f2920facf67041c58665a32e1549ee2b3d5a2e5d130da17b66de9 |
Close
Hashes for aws_cdk.aws_s3_notifications-1.31.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 48bc746bee29f577c77b64f29622257d1c1a2ec51b307bd6d8d7b76fa1f3e68f |
|
MD5 | 13ba8e3ac2f991a96f7f1425b735e84b |
|
BLAKE2b-256 | 1976d393a0059becc0ab47aa95dcdacb6e9cf9955823a7a5a3dd25c3999522b0 |