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.67.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0f305aba3737f8a7f39deddb5a59b2cdbb7016db7526ec9859654015d73ae9a2 |
|
MD5 | 683ef223912bb6961373c87062db8d74 |
|
BLAKE2b-256 | 67fb5c73bc73180f10420b610a957b015eb59a3b65740fc5cb635a061784fc63 |
Close
Hashes for aws_cdk.aws_s3_notifications-1.67.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0bd4ce344a9b77c7da955b1b81b04cb6d3c7f25c39af488f96afc97f62dc40b8 |
|
MD5 | a8fad98b663df21481b752cf68504431 |
|
BLAKE2b-256 | 97276687aafd2077d2d3ef484b75629c79d7396837f53bea0f7b0807836f1ab7 |