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.33.1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 618e8db7a9f2bb4fe200f4328e1e39b268a916dbc42997ef4319e1555053763c |
|
MD5 | 4ec105fd5041218a6114db5ca63cc1ce |
|
BLAKE2b-256 | a19bc37346a2e112641354cc944d6d2f2f469c2437031d6c1832cbb7894f6410 |
Close
Hashes for aws_cdk.aws_s3_notifications-1.33.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | cdd83606a5223286f0af5a62dfe6838fe51525b975efbc987b92da4aec6f1387 |
|
MD5 | b3e0b6ae31ce33b433d9b027559bb437 |
|
BLAKE2b-256 | ffd634703600965102728dd4f2154f7056d33080e967f00a4cf0cad14f2ab39d |