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.28.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0bd382dfe96abbf26c67e4e4d38cf82f3894b23042efdcfb340c299415815472 |
|
MD5 | d5ca5c7437cc56a56296ff9385857394 |
|
BLAKE2b-256 | 7cfc1a58a753ac61c12644e41fb23643c24c76f53b6aeb46087c51e2a527ddbf |
Close
Hashes for aws_cdk.aws_s3_notifications-1.28.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8993b7e5725d15489973e01143f0e6d66d9be9de73234488c32a3f4e5d09b65f |
|
MD5 | c798097a3fec0318ee0eb6f084f9eb96 |
|
BLAKE2b-256 | 07a54d89910b63da98f0e729c4f9bd838def89d0489175f5abfaa27e7608327c |