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.69.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1fc3a446d85b684ea098d3468a1616c44f355fedd266f3a2a7b1aa63c5c3736b |
|
MD5 | e711ee5aa011de0b858e024639399c7b |
|
BLAKE2b-256 | 026b53570271e727b4575e02575ad861b7b3d9f3ac13276e1d9a68bd2c731c8c |
Close
Hashes for aws_cdk.aws_s3_notifications-1.69.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9849a1a40070890ce895ac94e35f0e6f34f774e27f725bcd45cbebe4b231a675 |
|
MD5 | 70f66fa30020e48848b93fcd1766b9c2 |
|
BLAKE2b-256 | b2613320aef77983e70f9537c6e7f0b1fcf5c32e4330b0815fe11b20e64984c5 |