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.65.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2765d5338e163b7b49c79006c0cc5c4a7da662d3b091ca9436db9c930bb6ec34 |
|
MD5 | ac172bd2337dd52fc48e63b7cf9a10c9 |
|
BLAKE2b-256 | 31b379a7aa9ffa5d5fb51d014c577f91102c5599f4cf21fa920051a94e4707a8 |
Close
Hashes for aws_cdk.aws_s3_notifications-1.65.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7956ae79de203c8f3155b528b7076447d73b06f21e8fb2ede24bf7c6f9200efa |
|
MD5 | adfa00ac2bd30cbc82070cb4a33326b2 |
|
BLAKE2b-256 | ba2793831363d44b3d792943a74f12ffc0e7958a4b8cfcf29c7cb212dc2e3f8f |