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.104.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4f81ee1f566e9e5375b21c7243f53a599e58a96556862e55236661fe21a229d2 |
|
MD5 | 4dee40a9aa0448a74afd3f398fcffeb7 |
|
BLAKE2b-256 | 2507595185458de2da227db529d8894076cd6a1f61f67f8c1bc0c7fb00113fcc |
Close
Hashes for aws_cdk.aws_s3_notifications-1.104.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 349965361230e1acfc39c7460a217eae20204c2ff26f24a60e72a0e76227a0c4 |
|
MD5 | ba61ea859722ca664dbea6e4730252e9 |
|
BLAKE2b-256 | 2a4d2cb815aeb713d40682a5cf7f17f554815bd20e6b4f044cd5f7b7fbabcdda |