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.113.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 95b5896861e9920eb08d8f8372fedd621629e8cbb4f52a21e4a2099bb36a6d9d |
|
MD5 | e75371e8a7dd677032dc71ae39e29fff |
|
BLAKE2b-256 | 7696c176c7fcd8c8b90fc5a93fe1ebf90e3fceb06613f54e06eb59f02d094995 |
Close
Hashes for aws_cdk.aws_s3_notifications-1.113.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7d73e6b5967929d22a323b367a561c1c1d4105329464fcfaa43b65d84248fc25 |
|
MD5 | ac2363e29239d2e4e7f411ea2e0d6ae9 |
|
BLAKE2b-256 | 40aa3067b3250de3ccab7cff8c2119f6b02d929c55d649d2fbdbf2d47c8d8f00 |