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.47.1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 37fc9c8a8c3932a35ba94d0531c84f517961aeb2eea7b36b1d1c9e8b3ce405da |
|
MD5 | 1d0153cc3ad6b06762cb1c724125b8bb |
|
BLAKE2b-256 | fcf1294869a1bc69877fde7c8cc1bf82a60884765cfbac89057f6f6f8e60e6c7 |
Close
Hashes for aws_cdk.aws_s3_notifications-1.47.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b506d434dba487531b42ac2b108fa465af87f1e3de2f4c0f5878171e9f82c9e2 |
|
MD5 | edf4d59a84cde5d2612b9a30de06225e |
|
BLAKE2b-256 | f6ac3ff6c7c4da75dd703e91601aca42c9b3d809ba967f56696adc7fefda979e |