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:
import s3n = require('@aws-cdk/aws-s3-notifications');
const bucket = new s3.Bucket(stack, 'Bucket');
const topic = new sns.Topic(stack, 'Topic');
bucket.addEventNotification(s3.EventType.OBJECT_CREATED_PUT, new 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.1.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | b5f1be0347e22700873521caa3f5027267d80e24b3f9db3ea27cfc4ee72c01b9 |
|
MD5 | 1f94deac0d088374d65b04bb28d6d5c2 |
|
BLAKE2b-256 | 8eb82724e0cfe27326496486f739da2702c37fe1bade31a8fc0638e238d50103 |
Close
Hashes for aws_cdk.aws_s3_notifications-1.1.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d4ef59efcbcc8c39452cdb05a758e8836117ec8a8a62075805fda1401a51875f |
|
MD5 | 77ffdf0513abfc21c9fcd074521868af |
|
BLAKE2b-256 | a099929d83fba38b92e1aad5e97b5943fb754f76a118dc4790fc4f4e60aab112 |