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.0.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | c43b1d9ec5bbae90fa7d8a77617b13697b5e0920d692cc1241db2a5e983b134b |
|
MD5 | 80ab3b3b7880d1264ad1e9c39dbadb55 |
|
BLAKE2b-256 | 3b8c28db86c59fce73fb3b74da8713de83e7f9b6898d585d0be6abf513984d09 |
Close
Hashes for aws_cdk.aws_s3_notifications-1.0.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a58b24b9d813255364e79585fe98e6f410ea76f0f8761a085cc0fb2434a2ad84 |
|
MD5 | faf427d5e376fcf05f82ea40a1a83dcb |
|
BLAKE2b-256 | 1ede0a2577f4bfe3f71e6e6b67d51f779cbb6f78bf445024bc9dd27172cd0f62 |