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.84.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1f885689e10813c92060f4cb5051cd82abe82118408ec6f933d703fda878a236 |
|
MD5 | fd9c5fdba23704183deb46d8d77b4cb4 |
|
BLAKE2b-256 | fea203ac304a4e780d1c298edd97ba6daba632851767221276dee6bc8ef8890e |
Close
Hashes for aws_cdk.aws_s3_notifications-1.84.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c60388cc768100468761634d463dca2071193c15f178d75932491ff547d36cdc |
|
MD5 | e2d2db521948321366157c62fd3e91d2 |
|
BLAKE2b-256 | ce96fe52f28c61f07dce8d0ea0cacb6e27771109fdf4fe4e529af4bbb3ee5ccc |