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.56.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | d11bb3cd33ce68ad4ca607f1e503ce26447e99245c389786d303d0519f04c67d |
|
MD5 | f023b64d354ef63ec39bfd87fe7d45be |
|
BLAKE2b-256 | 1e4d6d6944a4b882c571b479ae19d4d525d3645402dc0a99289b8dfce308cc22 |
Close
Hashes for aws_cdk.aws_s3_notifications-1.56.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 447971e609cb9fc259307e5286440bf819ace6e88834e8b2c0fd5b7a9846f5f3 |
|
MD5 | d5eefbd1ec1d85d7ac75024402d40a4c |
|
BLAKE2b-256 | f690f2824fc07a0a03cadc75ddefc25571da1e50a189b41732365157bc88fd7b |