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.123.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9a73c26f4f7c5b749d78beebb4526ed3d6c0fc347d064fbdb211014469b05b02 |
|
MD5 | 394fcbda497242b7362f84f0304964c9 |
|
BLAKE2b-256 | ddc91a053c953d02d28ad0ec5292f648bd9482f4c78b1416ec569c9906fd6fb5 |
Close
Hashes for aws_cdk.aws_s3_notifications-1.123.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d1280b8f80f5e0a569a0bfac52013a500489ff5a5ac6d6dc78bcbc05f08f65df |
|
MD5 | 4aad459ffee1f19cc7bdf3ff954b596b |
|
BLAKE2b-256 | 986f32d545f821b33ed723ff7d42006de0ad11c6869e84768423ab2526f97e49 |