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.33.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 02b970219fb02ae28b5b66eeb906460782efd3699f7b5d6812b827ff380a5d4e |
|
MD5 | bc6f325681685d737bb1cc6eb1ea564f |
|
BLAKE2b-256 | eed8e476d988bb547d47f2373d999648e0d53afd207d7242a77dbae42d44a8d2 |
Close
Hashes for aws_cdk.aws_s3_notifications-1.33.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 02e23fb9501778f9eb07691734b2f189a7570b6ed77f24dfd3a9738f144795fa |
|
MD5 | c77660cb89ef96b172a58ab8c9f2fb7d |
|
BLAKE2b-256 | 99a4b5bba1b13d29a825fe88afd53ceb46808e09616ac15ac856c4cb55715722 |