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.42.1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | e7adcf5feba1f3371139c67a3a8ab52cb5e412fa06349ae1d0801de54be8f768 |
|
MD5 | 1d3e9247c40eb8a45fdd3cb69b9b1522 |
|
BLAKE2b-256 | b1c1665025a6bbf0e7ab931bbdc86e002ef85ed9e376025b568eb6968fccf598 |
Close
Hashes for aws_cdk.aws_s3_notifications-1.42.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 242de957da8efe12f05015d73f935af2e347ae5f7bed341393c9a52a351fbc86 |
|
MD5 | 0cf5b9c725f3633bfc9113ccda5cdd56 |
|
BLAKE2b-256 | 0d855c1b5afab5eefbf7541eb991ce5a9d9b55f00fe4cb86e6eb479985f1016a |