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.52.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 05a4fdcd4986d81d6963364a87ece1d12205a13a34d2c5be8ddbf392275ec95a |
|
MD5 | 2877f3e92f97c7a3184facb9df53a2d5 |
|
BLAKE2b-256 | 8e1dbd21f8ce51929571181f3b3ca662235f6f92f1850f70dbc5874b50f45346 |
Close
Hashes for aws_cdk.aws_s3_notifications-1.52.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ba2246faa7971b1cb34a976b9994ce423c6d10fab7d5dd678de7c49c0dacc516 |
|
MD5 | c6801b0f9bc9e61d180aa00e892b22c1 |
|
BLAKE2b-256 | 28011ef01e76e8d6c9ce84301419241c64a0f586c4998a3e6b6118f13c03d3ae |