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.54.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 45eca9d71c15292cf13b9e7d5b0c0ddefc54b4a482fe0cbb79e4c3fbb7b37c93 |
|
MD5 | 57631f66e03036c6ea763cf633181aad |
|
BLAKE2b-256 | 2b1c678f30e76a4241f0db6202368e170f29dfee1345391c7eb54386ee374010 |
Close
Hashes for aws_cdk.aws_s3_notifications-1.54.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5292fa604df05372783dcf2c452c0a75aa1bb34e079590f1f7f34dfe7d61d247 |
|
MD5 | defc234a33ecc3277722267224167eb2 |
|
BLAKE2b-256 | f0b5f16847b3a67e4fe6aa59a714c3cedce86dfeb116d60b44de2c0268ab3e2c |