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.94.1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 49d403dbc5691fc1a6e64cbb125fea61eaf40e7ea81e585fcae1c4114c39eff3 |
|
MD5 | 212005e09477d65d246fb903d2fd79cb |
|
BLAKE2b-256 | 11125ebf330bef32edba7611cf18672bc41a300cd3d0aae053691709f55a64e1 |
Close
Hashes for aws_cdk.aws_s3_notifications-1.94.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8f1b264615abc2fbc02278f23a099852ccaaf0396b06e89d4e8ad5ab359e584a |
|
MD5 | 836ef712c5d62289a70c677fe68350ca |
|
BLAKE2b-256 | a566017ce83dbe53a668ba956eacb8914f6475389ef940fa1e86609e37003217 |