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.99.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1ea78d72197aaa88fc93546c180ebb1c7674ed847550ebdacc7561f51ca3a582 |
|
MD5 | 02f6b63e0a45a34c54561fffd73bdee8 |
|
BLAKE2b-256 | c67229c66249cb34683db6459c44550e2eecadfd3d3889050f95d1537ea14b7f |
Close
Hashes for aws_cdk.aws_s3_notifications-1.99.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b7c06dd7c806b76239e05f29806749a642af6eda68f1a195c972eb5e32d83c10 |
|
MD5 | 8310111e354289fe34a76038aef942b8 |
|
BLAKE2b-256 | 41383e9df3634792afd8b53b8e01454ac5c69adcdd73b60fd41bc7d3dd188fd2 |