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.38.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 41c73e1962047b21267930adfae9b28bdf493212522d5d895c84c3dfd0acdc19 |
|
MD5 | a6009b7d522d98828083d32dc99e19d6 |
|
BLAKE2b-256 | 4c350b09c03415c15534c7f11a05279ce1bf3a32424cc90658f19272a01eff85 |
Close
Hashes for aws_cdk.aws_s3_notifications-1.38.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b0642512c077caf997871d90bce496f9f1ab0852935efeaf292ff6b6b42f59ec |
|
MD5 | 7af95a3dadd9f78a58809f72923bf1a5 |
|
BLAKE2b-256 | f7fdb67f720f0a7ecd14588e866c27e6dbedd1d11538aca82a1fa3c68fdb64a1 |