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.112.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6c73622d9c24f6f829265a0439da6bb27e1a7dbc9570598e04036e34cfdd371b |
|
MD5 | 8a557746c61aab7c5e3104d8a02d8cfa |
|
BLAKE2b-256 | 1f7a71b707f0599acf6d2f9e51edc9202d977c80fd56c34d6153bc7cd5183f9f |
Close
Hashes for aws_cdk.aws_s3_notifications-1.112.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5222b7738a139f32c2282a461819312795470e6a094163b819f02399b63f3c64 |
|
MD5 | 2bb5711597bf9b85b655cb510344eb5a |
|
BLAKE2b-256 | 754b970c2cca0bfd496c244ad985ed7cdee9d7f7af7feac76d1fb8efe63d0b5d |