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.51.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | ceefc8c4dc591d7f46c784c84db75e2cd8f4060e2f1103ac6d35c68b881d9e6a |
|
MD5 | a8e6c5b5e3136ce0ed9647af67b44379 |
|
BLAKE2b-256 | 390dfb8edf91498d0a9d46291683bd8024ab06969b0ae93e54edee1a91911310 |
Close
Hashes for aws_cdk.aws_s3_notifications-1.51.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5625b9ad63cf6d86f6af547d95ac4a0b893a50e593150ba06888657062dd12e3 |
|
MD5 | 72617cb0c2f967ea061bca25d379d10c |
|
BLAKE2b-256 | 50512a3b99af1e64620381133de550bef27302fc7314318902dc8a4da85d199a |