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.43.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 49eb1182bcde68c043f7650b2166befaaa07f805d56704eb1f3e780f3f5ba40a |
|
MD5 | 6152a66875168428c5c8bb8e2a9c1577 |
|
BLAKE2b-256 | 24eedfdf0a79615542a708915ea69f15d43e83ad3608bb9fa04f5448097c5cb1 |
Close
Hashes for aws_cdk.aws_s3_notifications-1.43.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 95022eeda16d778468813efa151b99256bc973c2121c935f096f6321456ba7a0 |
|
MD5 | af7aa2b42939ea2662c8562850d66bfd |
|
BLAKE2b-256 | 8f23fb073e1c07b0e6b41fe800683ebf590eea953dc88d786f29834db2c30d86 |