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.46.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | d8dde07ee27e9585bcb47fc1382bb4d1ab56c1d4ab1f93181a60b498d67a2a21 |
|
MD5 | 5b6fde17ab136969970b21ed61328506 |
|
BLAKE2b-256 | e8b2a6dd6c2b2b14ea3309b932b81b59eaadd3dabfcbd0442c39b3b823685be1 |
Close
Hashes for aws_cdk.aws_s3_notifications-1.46.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 80ab83dc0eeebde62c243e3538d369c023ba5907052a6d0825a22f3d1583b8ee |
|
MD5 | 0a0906ac7438a92af8a172d395ab0247 |
|
BLAKE2b-256 | ba69e496c25105e64d0e61613d7d554d387576c7912d5d045201bf6d3a778a49 |