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 may have issues. 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.13.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | b788dc437274be63137c9b45fbe8d07b64611db95bab590186c0e16838db764d |
|
MD5 | 742325790e9fd8a650680cad859cbe83 |
|
BLAKE2b-256 | f724a23a911671d6565693c52bb0546038f606c4f28e8c9016b39f73357bb957 |
Close
Hashes for aws_cdk.aws_s3_notifications-1.13.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2ef9f573348f7e2a387ce1054d40e07389593c31a0b5dff70b5fc5bcc01e797f |
|
MD5 | b1305ee93b2139b27d472af870c3567f |
|
BLAKE2b-256 | c59d48557ac1d7b775c15a4b5a423586a3c9264db3a6a2ce9ea7a9f1bd10e2e5 |