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.49.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1cbe1e4681a5b4f2ce59deed2109a775184c54dc42c481dab66210cf79040f43 |
|
MD5 | 0912a00145155b9f9c46b0e20ba53313 |
|
BLAKE2b-256 | 4d14b9fedfa80acdca5cb88bb5fdff278dbaa8c60975d329e1c386c8853e9980 |
Close
Hashes for aws_cdk.aws_s3_notifications-1.49.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a73e9f171f8f22733c55beab358f62abc8ae79fcfb70153ea2dbf2a05ceb1f82 |
|
MD5 | 693b39f1579b4fcb7f002b76e1e52406 |
|
BLAKE2b-256 | e58c85e9ab93c0820809a4408f6704660f22f8e8463df64cee3e9029d886026d |