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.76.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | e8f48b7c790797447d3e9ec981798b794c2c3ffed2c5923ba6fae0decc7c4800 |
|
MD5 | 504f453111279e36afc91bd616f24477 |
|
BLAKE2b-256 | 705ab18f2cd304c270682fd3c1ac88ed532f5b27f6170ba1a01d670982844e3f |
Close
Hashes for aws_cdk.aws_s3_notifications-1.76.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 87b8c20a55a17ef8d563c201bbbd736b1cd1b3dc096c37b8c0b51dcb7dbc491f |
|
MD5 | 599229bd611a45973dcf2a812234fae5 |
|
BLAKE2b-256 | c86dd4ca66439d7ec42032892cce91aa16ea055af35aff1aaea5c067aec0ee8b |