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.29.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | e18555d469b5b640eefee2eb8698a2d06e5108afb65b34177b22332f024b5f56 |
|
MD5 | 4173063c3dc30a5b3cc0f5a1f2a9c1b0 |
|
BLAKE2b-256 | 46b70253af9f62c942e3bdfde922b1835306218496a4cc76516e8cff291e6001 |
Close
Hashes for aws_cdk.aws_s3_notifications-1.29.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 10c00cac0fbd52b62fcd4e93d2117d1b610d77a4e1c972af490e4962ae890d80 |
|
MD5 | 9ea01b3bb91ba67f34eac71d6ed6c860 |
|
BLAKE2b-256 | 014934915e2187108bbd54601545569e787f984a127d10451af2e060333441a5 |