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.47.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 64a811e3aa5b01c037abe760c48d29e5d9513217bc5c68ce50976486aaa16945 |
|
MD5 | d8ea28b1dbeb8f722ec15b86978f53e1 |
|
BLAKE2b-256 | 999c15d856b5fa2fe6b207ecc1b34d4d4ff99eae1c73f864f98a89db40738080 |
Close
Hashes for aws_cdk.aws_s3_notifications-1.47.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 125c09eba4e205a1f9a1ff69839f934e8d7fb175fe3c0b3dc89abcfd202a682a |
|
MD5 | 12cec004549d2a026659d0a7606671dc |
|
BLAKE2b-256 | 94c5b5e81cb059aa949ab15b3f91118283e4e3d1d5cb74dbfbe6c6b8e857a318 |