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.3.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 864210d007437c891d12630cfbfe37e4972486de7fa4ed27ab6d5f610258c511 |
|
MD5 | daeb8f4d2334fb06455ec290855c2c09 |
|
BLAKE2b-256 | 405a68064dad556b1b72922983f1f94ebbc4850d75974026335c1af7d6f29887 |
Close
Hashes for aws_cdk.aws_s3_notifications-1.16.3-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 82ab36f4ddaf140fdf71b5e2257077f0d6541405512a2cc54e87719f85d549a3 |
|
MD5 | a75e53af478dc961a8c4f768a4fa1acc |
|
BLAKE2b-256 | fa308ba346f65b89bf11be286ab5671ae94e93e81c0cbd937096d397fee7a587 |