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.30.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | bcedfbf55b20a2611fc5ddabf89b1e01d837616305676a32a4140556c51d7053 |
|
MD5 | 49f0ecc84121dc391812d34b0ad8e232 |
|
BLAKE2b-256 | 2905e7407f5c16db78d53e8efa93338d635bc6ff86a18bf89cdaf6806ab0f57b |
Close
Hashes for aws_cdk.aws_s3_notifications-1.30.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c197f12721aaefc6f40363972e933197dc2e6a2b33501ce8523b2d33032c51db |
|
MD5 | a0e52a247e9bdedc3016fed0feed3a2c |
|
BLAKE2b-256 | 8fdcbb35ca486e051764d71ea2291209d166643483d1a202aa7f8cec3b6b91c8 |