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.108.1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 74eec9adb60457b2570c8b49c981b719773025a90ddb0ff4121da04fc31cb637 |
|
MD5 | b6a5006cbd5d20852df280783d78d8f9 |
|
BLAKE2b-256 | 9817313aa5e28341a88eb55a08174b18311b5c1230cf39d6ca78fae6a6a3647d |
Close
Hashes for aws_cdk.aws_s3_notifications-1.108.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f6207289f46138d655cd0a88251e7009fe7b30c36e1889005ac37a0c1d86f0a0 |
|
MD5 | 2a39622dfd037008ce8acd59e2f3defb |
|
BLAKE2b-256 | c056faa8ca8296e28c6889ed8a4b3a496f1c7a043675572c4993332e98c3f90c |