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.39.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | f22d801864708fc595182d734331d5d724e2f366fa1c9f7079dccf4c623f550e |
|
MD5 | 53c7ce3e9c626b9bf38a04eb81749a85 |
|
BLAKE2b-256 | a6e48957c94d90a602c6cfdde9c35c6f3af8b955265b697578511bb2a26bd1e8 |
Close
Hashes for aws_cdk.aws_s3_notifications-1.39.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | df86dbe37e1f51084df4d7758198a0bbbfc4a88e770616a4f41483e76f7e9e70 |
|
MD5 | b37534a7073498b1d8c1989a5487639d |
|
BLAKE2b-256 | cfa3110dcfaa88e39202e5ba035d3dde29fb0745a2ada076dfd6f6521f1f9590 |