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.90.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4d4a204c938ac92ba40583f3b77fda188d4477e9c4ff4ef02aecb164da547633 |
|
MD5 | 898b0c572e853d222476db74bb236b5f |
|
BLAKE2b-256 | c8a8b3356a3baa3dbe5a9f17e0875a63ce3fc299985c6f153d72bf73811f3587 |
Close
Hashes for aws_cdk.aws_s3_notifications-1.90.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 10e4174db83fd5f6403268975a516f98ceabff900c2e07f477474f75964d96fc |
|
MD5 | 9c0a4acdc004962f9e6a7cc4fbc8f59b |
|
BLAKE2b-256 | 4ebc3590e77708465069e861fdffbbcfc854fe1ab733fc5d6fd435e6629acf80 |