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.22.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 871166b3ec3213e8909ea1f2ff1312f34f6f2653c80dc86246668b8fdb0051c7 |
|
MD5 | 48bddbc02e252347bfc47543069a155b |
|
BLAKE2b-256 | b4e5bca1e5e4ab79724307123b90f152710e9ad593d8d069d60e29d8e8329d70 |
Close
Hashes for aws_cdk.aws_s3_notifications-1.22.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 64ac03656ac3fa15c511391730b912e4577a95d238067adaa42c57eea0fa5514 |
|
MD5 | 66fee3a08b495098f1dd886661ad2e7e |
|
BLAKE2b-256 | c79cb36ab02b1636a9b8c86500576b855118d423b84856c5de3ec6f182e34b6f |