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.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5fda905c5a5be1b93f2611896526c9da4b9bc4900c2e99f6d1e3230354f53662 |
|
MD5 | a0ba16055efe48a2d3858e5559c1e558 |
|
BLAKE2b-256 | 3f19ce55e969fef4d5747579a12b3a9957228f0061229f30ab34507fac7fd18a |
Close
Hashes for aws_cdk.aws_s3_notifications-1.32.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | bda14edd2508257326f8a518b85af47a0fe1c9904aa51ecd0ba8c24fd4eb9b82 |
|
MD5 | 957a2470c35367a5ec95280ca1b64202 |
|
BLAKE2b-256 | b13ef8b1e09747802ad81caf9b7966151acb4c8d4a240dc087dfdc6d1105cd1e |