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.111.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | eef7072fe1fe9b6bb073bf62dc5879267fa7d7b1cf31e8b409f41c4460a63715 |
|
MD5 | 2a23402e5b8b0584e663efcefdd2fecb |
|
BLAKE2b-256 | caa36246de9d23dd5990fec33f1a7db219ff8aea16686efaaf7fb11489754855 |
Close
Hashes for aws_cdk.aws_s3_notifications-1.111.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3ff7415f23fa345b2a18f21b9eb9b479e844a7588b193dff1e58fdf0a7cc469a |
|
MD5 | 9f9c82f6dadf20d330be2fa76daa6b89 |
|
BLAKE2b-256 | d85ac3ed810afdd294e37793522ccf263cd72a94825cb15a68e80f8b11dfc279 |