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.77.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 869d24fd152c7a0d1fed666d614e6cdfc8c7315566f03dc63a3339f47a443bd9 |
|
MD5 | 66e694fa9efebf4c85a268b6e53d22b0 |
|
BLAKE2b-256 | e00e08669ae14565120a28d9276d11d01dfdbba115f4ebf6fe0a2d7a5fa085f0 |
Close
Hashes for aws_cdk.aws_s3_notifications-1.77.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e23ad68688b8c88a3e5ef58dd8bdbde6fca5c2af682d55b70f06081cedb6a0d8 |
|
MD5 | e56b623f737c41e03b0426cc74baf34d |
|
BLAKE2b-256 | 96330e295dc1a977854e6d4874733c16860c0eb651146b5880f15396a41a9586 |