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.70.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | fb14afbd8bf9255af5454b97e06488e6c742b4e560db1b54471478723c700238 |
|
MD5 | c68ca978be9258b4985d99aad3da5e69 |
|
BLAKE2b-256 | 70f8a8b594ee8f0f05d49ada0aa54eafc98740d6439c929dc7cdcb11a22ade4d |
Close
Hashes for aws_cdk.aws_s3_notifications-1.70.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8fa029647daeb4387421169352caf93113eed13b36d8acba57601c574e7db720 |
|
MD5 | 0920c2a8540795888e3ce30b1e258f3c |
|
BLAKE2b-256 | 11802c4fdf7b65331fdc82c9a19e2d20647b36612ea7ec61d2e007046ba948a5 |