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.121.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 80c97ea906cffebda59119e3880ccdc5b7e8d5b629e810bf7c5798a65e5752db |
|
MD5 | 64f884798574bfcdf573e1aff58b4841 |
|
BLAKE2b-256 | c109a5a1936dce1c9bb6138a057d872df90e8137139b7104c1ff43f365434995 |
Close
Hashes for aws_cdk.aws_s3_notifications-1.121.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 60aae55f55a0ed92000f3758cfd1db3fe8bb697de63088a7b882de5a40e5dba9 |
|
MD5 | a15633ed3733603a8f21d23e3d372159 |
|
BLAKE2b-256 | 82f82630f19c626074f8ec2ad67375c80bf38fb6be456ac6bba8a2af79c3dfe1 |