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.95.2.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | d121bc6693fe6c651087e6fccd662d669d8400c77461fcb054cd7170350278c1 |
|
MD5 | cc1159a6efe59e9df76f93d5476a4f35 |
|
BLAKE2b-256 | 7765c805bcbd2835e050ba705efdf7bee74a5eb987ec3e25b1be2a007f809db1 |
Close
Hashes for aws_cdk.aws_s3_notifications-1.95.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8fac3f3a46559448a2b1319281968a43b34c6122a4765866ff56bc10ff51de27 |
|
MD5 | 98b92172b898b02d51c601c5818894dd |
|
BLAKE2b-256 | 12036ac5edb6e2c97c1b4e423f4f3a7d30ea7266b7a9612ab65f9db774ac77c9 |