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.101.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 095957127e215a073be8da94f87228e12b59fa98ab13a917ae6b0bb167f988d7 |
|
MD5 | a913ae24b070119e5dde45bb4c69cdbb |
|
BLAKE2b-256 | dcd9c186b94a4a312e3ccedbaca99629d8cd8f0316d3978ac4e8100c52a5e594 |
Close
Hashes for aws_cdk.aws_s3_notifications-1.101.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 749e703891e6fdcc9397d2586c28081a0266147fac7a77e309d523d8c663ec85 |
|
MD5 | dd7a5103ed433cbe40f07c426671eef0 |
|
BLAKE2b-256 | 131562ab58fea32f8190f0bc3a28d00a804b2f72f0d2274ad9ecbc4ac682b354 |