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.93.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | bea8bb4bb939b4d0d3219a46841b18e47143f8766802380ac96662b5a3950972 |
|
MD5 | 7ef11d46f6fe562aacb5a0f73d5c3701 |
|
BLAKE2b-256 | 5bb44698fa68b5e2586c06b75baedfcf93162cd7b87938717eac9346e84dc52e |
Close
Hashes for aws_cdk.aws_s3_notifications-1.93.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ae4aecdbc8a986c12eb1b86fd64597b0a06dfd064afdb52826a4137eaeeeb153 |
|
MD5 | 6980aee4afd117dda50483fa19e8a892 |
|
BLAKE2b-256 | f180fdb3b094284bf54240f8d89793b4700fc041933493bc90ece6a3bdcc19d6 |