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.36.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1f23758514763237504090092c1eeccc3e84b764a7fd59e5be822fad75054750 |
|
MD5 | b5c4a4ebb32049484b05f670b57976c4 |
|
BLAKE2b-256 | c424327f4cad3e1cc5f3bc9413077342498e3510e2ed990615fb3b388043669f |
Close
Hashes for aws_cdk.aws_s3_notifications-1.36.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e6d0ee22313635b8a6023030eb6c3d418817248d6da0518e41d393d78a1a6e3c |
|
MD5 | f4eb27092b013080dc5d9ba26d102f46 |
|
BLAKE2b-256 | fdaa7c68e0069137d5c5af3a1376c1f21dedda62586e5f19ffd42afe220bf6d1 |