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.41.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | c3e7619e69188dfc1ba1e0c431c03564abbce1ea2056d5d55ed75c57f994b0d1 |
|
MD5 | 5a35bf6e7ad34a4a9d1113ccc16cf377 |
|
BLAKE2b-256 | b252694bdf03d6d760bd4aa754ae19fc655d389eefcf551c8033a087e539cbc7 |
Close
Hashes for aws_cdk.aws_s3_notifications-1.41.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5ed89773a2e6e844437be68f8b5298a9f2abaeba5b11f92109a0a6d012ff9f09 |
|
MD5 | 5da59e9bcfce083587341325a40cc372 |
|
BLAKE2b-256 | cd3dad16717575f6778814ef6ede9286ee02f84ccadffe3b26e92a81125b5b88 |