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.91.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6433f442f78ca27b6c54765bfb3a6f21981b0f9f4293ef7973b5f2e66099e9e4 |
|
MD5 | b131d26537510f3cb9744fd191adea21 |
|
BLAKE2b-256 | c479494ab7eaed38df82277537c5a5b451f887a07744c411b42ddd929357291f |
Close
Hashes for aws_cdk.aws_s3_notifications-1.91.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 78ad8cfb0a1bdfdd05d585f21affdb6480d621e8bb31e1c733af509fec71a33f |
|
MD5 | 05a2ee7326d739ec70c9d8e298437726 |
|
BLAKE2b-256 | d1f536090e124ac951af3ce9dcf2ced7e30908faf1833801f88fe5818200602a |