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.68.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 419237a03f7831548346035a01c9047637043d2320a3f95963cb51b9c7a8400c |
|
MD5 | 0fa547e5e4422aeb062980b46943703a |
|
BLAKE2b-256 | ec620a05ae6aa0a6055094009741890110db715c0f20600ae64a0064485ce9fa |
Close
Hashes for aws_cdk.aws_s3_notifications-1.68.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ae5a6f95ae819dc84cd4b9ae950991dc7163a7f3c6b02c6546a4b194f2cdde7a |
|
MD5 | df83cfd88d73e34a46808805fa418fc9 |
|
BLAKE2b-256 | 707ab996d0304c8e5c0a72faea4aad28d9347e7866c1a7b27bd84b98c824c5bd |