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.95.1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2bb005965c06f7091913f5cb4e42e3cba52856c75e118bf7f41e3ccf98076f36 |
|
MD5 | ab2b06f0a061963ea8976f4b756b5ac9 |
|
BLAKE2b-256 | a398e5526db58dcd3a4a4df49d5c24f5ea1a9566ffde17205933335e6a99e61d |
Close
Hashes for aws_cdk.aws_s3_notifications-1.95.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f3dd4a9158b086846de2d7a41d135c1cf318ebcf5912614660fb157dca361edc |
|
MD5 | 551299b6ddbb97f1df6c1e8cf7eea057 |
|
BLAKE2b-256 | a1a62720eafef4549721ff6d463d01aca9acd5f71390d4ce8620e1df8d610ca6 |