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.87.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6876e9475af41116df924fbf6d1bbc6ac3a8fa3d7ce496e85e1dc0c1dfb1dd03 |
|
MD5 | b69fa951f99fb118d512a5568db931a9 |
|
BLAKE2b-256 | dd475ca86814c62332a7a8e68e94b50f1ad21bac286c97b59ebf22505e5533b5 |
Close
Hashes for aws_cdk.aws_s3_notifications-1.87.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8a7ffc2e170cbbe770456cce446446332084cc96b92854889337318e2368378a |
|
MD5 | ad0142eaec266518df1203b38f415b7c |
|
BLAKE2b-256 | 61d110d0ab5d732ee8987935de3f2a7c00b8aa1ced2bb4b8aecf83259d4af75c |