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.92.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8e438a05419fc3dd825f3490629ea7457ea96291dec3dcb0822338d737725bd2 |
|
MD5 | bcbe19d7887d52302de12e925c12e6c2 |
|
BLAKE2b-256 | 31c39131e64d0cd8bcdf2eb36f8263615530ed201b7df58b99e31e8c4ae58d11 |
Close
Hashes for aws_cdk.aws_s3_notifications-1.92.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e237afd6e1673daed6000339fa84c65aaa557a89fbcc1169265f645e7721987b |
|
MD5 | 3aad69581e1c76080475f5f9f9d12218 |
|
BLAKE2b-256 | c58529f20e3784c79baef52ece2fbb9213f1b92e01583d3cb630d4045a01aa4a |