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.40.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | e7731703e00d1e6e09fe60971ac045ef7cff27ba3733cdc68493d531a0218e40 |
|
MD5 | 303edd87ff0306beee3db0df852b67f4 |
|
BLAKE2b-256 | f19cfbe79f45a542888c56a14fc771949536d452ff929eaa7a6d7e0638a8039f |
Close
Hashes for aws_cdk.aws_s3_notifications-1.40.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4cc1b966fc3f15d4a9e3345964d8cdaa93812ccdd9584aa5c384ea4d38be05ea |
|
MD5 | f6a7508190812861b5a931b9d2d97178 |
|
BLAKE2b-256 | 88776d48ee3759fd7ca60fc30bf3667ebdc83436222a2be95c8af638209c81c6 |