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.32.2.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4ac2c292a7759ec2c77db3b6648d60cbc6bd2a99889a4f29204b3ac0b7469567 |
|
MD5 | a5119d0c6c5a0996b3b3882287f38814 |
|
BLAKE2b-256 | 01d63a0c372f6ee959a076f0e4565c518beaff23b8df442ba6d6e56132008c29 |
Close
Hashes for aws_cdk.aws_s3_notifications-1.32.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e0aedaa70dba86347afbef68437bcddc458cdb21a4f0d638b9807559a978d3c6 |
|
MD5 | 152401a67c1efdaa883ba853b5e9a007 |
|
BLAKE2b-256 | 4c5687c851077c0f7c5b287dd14f0dc5f052052df20686b85c5fb77e85a6408a |