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.100.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 179656f57d91a1a489c54b883aa8b0b9bc721e757d4756a223edbbefca5d5acd |
|
MD5 | 9f0200b5f8c6d385f87488010f60c222 |
|
BLAKE2b-256 | 297eef853eae5284f0633046243c56b2f4c27a1778074b1ff73a45a8779d53ca |
Close
Hashes for aws_cdk.aws_s3_notifications-1.100.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 78537d1445861a42bcd3e6bf1c5434e8dc92e95303b8f554c9ec9e0a15e6c8a9 |
|
MD5 | da5d13486352c99d334bed1ec0eb844b |
|
BLAKE2b-256 | cd7e7d40532c8dbe4b9cfcba3f5c67a46744ffa0a2d8138c94667e2f3b8d4b52 |