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.34.1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 50bd759578d140c0d3ae5820cd994afaf8b2c77d94100b138ebe084998ea6bc4 |
|
MD5 | 2a0ffac28357b5c98c7afe4b8169e697 |
|
BLAKE2b-256 | b5811544cbaae876353011c85a80e9f6a9c89e869f9647218f794939e9f5d88b |
Close
Hashes for aws_cdk.aws_s3_notifications-1.34.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | eec303d476f5bba591ec1fa20a4484bdff909b48861e0f56fa0477d9cf899858 |
|
MD5 | 8bdad376a895b814428a49f4085b193f |
|
BLAKE2b-256 | 09a536c4645931b7e8457e7be2acfe4efebe19eda7110d27e273ed9047c391fc |