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.83.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | fa5f8dd7f2a2a9d0ac52acdeec0acbbde01714a6b61776e37dc67c0d39b78f3d |
|
MD5 | 7f6ee59aa5da23bcc1ac82fdbf810d33 |
|
BLAKE2b-256 | 57fcca9df514aaf32279ad0aa9c1ea12aa2c9182db8e0a7e50bc0df783c9c878 |
Close
Hashes for aws_cdk.aws_s3_notifications-1.83.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 996c84ddefa8f8874e903e817f1dfb1cec67351526e943383a762e6c011235e8 |
|
MD5 | 7c02a785f2ee2fa723a1ef102456a9b1 |
|
BLAKE2b-256 | 870e4926ab8333b10622f0534122a9237f8f6b4b0317ca3ac5760cf8583fc242 |