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.97.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | d436cf082f6b73ef36d17b74f9c8e9b129bc6a5f4a6c4927bb83b65fd82a7219 |
|
MD5 | cc31bf9d594cc114a30d1ffcfad38ac1 |
|
BLAKE2b-256 | d0e8d6b3d658cd16cb333edb8c75d50393f5aa3a3a39ccdcd41dd8c5e2eadfc2 |
Close
Hashes for aws_cdk.aws_s3_notifications-1.97.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3141aa40a09fb71544e239b9a5991893cc3e04d12ab6e2608fd7e4a7a334ff7e |
|
MD5 | 49b421a99652e2d252301091b8e1b59f |
|
BLAKE2b-256 | b96a02f7118f31dfb81b0b0698c4673d7b26e040fcca32ad631cdef912f949cd |