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.23.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0f8b794dd420f9a386487da8c75cf2317894fe752986b820686efe0cb6e5cd52 |
|
MD5 | d3a4cd173b71560c7d4c5fd06764faa7 |
|
BLAKE2b-256 | c01f596cf4a6eddbbe393ff6b7983581206097b9c570a4fc7ae25b5ceaf84414 |
Close
Hashes for aws_cdk.aws_s3_notifications-1.23.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a00c03f3e95a648152aa04ec971361d16d3228de9de14c6ce4efc3c9fa05a4ec |
|
MD5 | 34d7df2e35523dc405728d5f23aebe3a |
|
BLAKE2b-256 | 2a92e12df34ee7e9e790f67e77ead693810fddacf747b8ea976cf480bd4df16f |