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.85.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | d915855c8b5619f9d2f3b792a6ef6feff59b5c8e34fd61f535ae7ba04426e64e |
|
MD5 | 189f33a348c9ddaf870227698c7d87d5 |
|
BLAKE2b-256 | 52d1f9edb5fa866ed077d8938df911003222dc386b1bdacadb4ed183c22d041d |
Close
Hashes for aws_cdk.aws_s3_notifications-1.85.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f115c3e974eb12057d9e42198dd1ff18f8837d5015a5a2f83cd985cf029d9cc0 |
|
MD5 | c85120b5a011ed564cc9c248e2c32fef |
|
BLAKE2b-256 | 2f32ced88cf2a2956bb07cb123cb021dd696e4174613c3922a9134ac3c47a2d0 |