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 may have issues. 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.16.1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5721aaf8be4d4e98d65dbd4507516857d32b2b3c9163aff5d662b333c6a7f0ff |
|
MD5 | 4925e7024f9476dfafc86c4085d7a9c9 |
|
BLAKE2b-256 | 9a0c55822ac25d25dae83c64e065c6c952d3cb7b0c5be228ae8bda397813efc0 |
Close
Hashes for aws_cdk.aws_s3_notifications-1.16.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | bdb99152dc74a6ce974a2bcc02b9e4909fccc58abac5413b26259d9a42b928d4 |
|
MD5 | 90204d68a872c77a9888435a01e52ba1 |
|
BLAKE2b-256 | f830a29ab4751bd7717cbda37775d750bf28a3fd5c6bffb171c0535f0682e59a |