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.78.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 856c4b3494a0c89dd2ac96fd3bfbe2fd748d38ac46c0671e0a60cd65edabf9ec |
|
MD5 | 9d4e7d258fe93b8bb3da75ad3661daf4 |
|
BLAKE2b-256 | d9e520dc3a9264380d5d0ef31bb088aed2a2a1accdcc8239b203294d7dfe5a61 |
Close
Hashes for aws_cdk.aws_s3_notifications-1.78.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7e17528193b30bf8d00ba696f75d55f4720073f7fa3db83b814ac230ccb61f30 |
|
MD5 | 8cde2b9b94bbaacd3b2784f2fe33fc78 |
|
BLAKE2b-256 | 12af3235e0c342642df9ff639a79a31e4aa5623ca90eea044130227858238da8 |