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.53.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 130369c0f244754974eb80acfc244a4450b1f75622f7a8f4d557de45a94e3e85 |
|
MD5 | 89347f966f27e1c007946b27866bd71e |
|
BLAKE2b-256 | f6a928998059f774f41a644b6525ea1a7a1f00f4ce6438cf1d7d977c474b9cd7 |
Close
Hashes for aws_cdk.aws_s3_notifications-1.53.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 01283d21891dde3b26021f753522540f9d139b65afba85273310d741f20c25f4 |
|
MD5 | b7fdb0ea40f8b4aa09ef9a0dc896be96 |
|
BLAKE2b-256 | f73634fc013c26d43269cddd551885f2aefd3cc8903af249f9101ffe3ebd129a |