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.25.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6b5fc81de21145dad1e542d229b865487ab09d089f10144f7c997797b06a9461 |
|
MD5 | ab7331b6c52ecdc0fa7919bcb0a7f9c1 |
|
BLAKE2b-256 | 68973a1b8141a19bf5d6758a4cca81bfe7a53cb7ae63f983142498865a0c2631 |
Close
Hashes for aws_cdk.aws_s3_notifications-1.25.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 014feb88636f08ab186eda73bf15f7284d981f115e3ad1af659c50229cffedd8 |
|
MD5 | 30282288fafabea0b06e6815aaf5681b |
|
BLAKE2b-256 | f27fe114a43a448b849a5d0b6cd468f2813c94380c9d20c4f9e7c3250f654e09 |