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.74.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8599d824e17c36b9e4820bb891288137d8f87eaedec9addc810e290795a5f757 |
|
MD5 | 1c96353f17492023e352a0f3387b4262 |
|
BLAKE2b-256 | a2a37baae8ba3d01217e532ce3fd7e7043301e1ad35fc7e2f1ed5c0eadec6433 |
Close
Hashes for aws_cdk.aws_s3_notifications-1.74.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 67d0ef06b62eec36f19ed125f674505f256c5b32624105016a5f192a37d96a67 |
|
MD5 | 64b81cca136d726050e1926b79a419c3 |
|
BLAKE2b-256 | 05f549a49615e60a70bd1630d568dcc4745da04565f5c7bfbf18a926f4178f8b |