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.118.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0cd24bccd594a0fecbb5a4612d9ffaeaf83fdf3ea0f9267d69a43f47d580493c |
|
MD5 | adaf70844de9a88b7df81d37695b36ed |
|
BLAKE2b-256 | 895077c8293f031194c6b6aa466cccb5cedae7bea95ac922ff9bd33e531557f7 |
Close
Hashes for aws_cdk.aws_s3_notifications-1.118.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5e17504e3bc5760d02be542405271fb0d4bd6d0667b63653bcd07fe6c81353ca |
|
MD5 | 5b7e75cea48edb0a4ef9b92cea430ce6 |
|
BLAKE2b-256 | 1f4a13444057062505589a49df264686bc016204f777e37504b127081787b75b |