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.125.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1062db91c57aefdc06cf75b1be7c944839dd9fdb40bc028ffc570980a661f763 |
|
MD5 | 5d832db7fcbcc4a3c6ab0aae7409cfde |
|
BLAKE2b-256 | 344e6bd8a18c249856d8b9c4585091fec911fe34e60add6f61953c7c4d1b35ba |
Close
Hashes for aws_cdk.aws_s3_notifications-1.125.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | fa75737decf84f746f1b1d8288c5e8361e0fa206a291f15f5b6587f1559317fa |
|
MD5 | 74250b2a1765a1c3d025b93cfd1014bd |
|
BLAKE2b-256 | 4f8e3b2021d6363f3cf47404ca4208e3f2818345bf1a304c4beb35d4ab377cf9 |