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.20.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 393e17f0f73392284fc963f95d92786d30abf7ec46f09e6dd68628a19440b017 |
|
MD5 | eb707bcc454e5777b7e1820303b83aab |
|
BLAKE2b-256 | 1c133045d9d63c0de013d3014518d83a6b566f9e372b0f6db9cfad0455a0e45e |
Close
Hashes for aws_cdk.aws_s3_notifications-1.20.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 54dab859efdfd38df2b0c23cf043b74f615204e81451f6fb60f2b95806f24655 |
|
MD5 | 18cf8e84e0abb0df5373d97b451f47d5 |
|
BLAKE2b-256 | 49b53d0b28a8861eca360bb30a60df6adb7a91d2dad97d6a55bc41ae0af5c0bf |