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.110.1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7e94ddff81f61fa0b5efd6f0e899f4d80b511bcac9c10f3cd3c8a4fcb4c81b99 |
|
MD5 | 6622c4f15f4b39b8842f24f6a195d59f |
|
BLAKE2b-256 | 36ab2cafb54137142f999f92a9e5e633353d795a0a7939dda026ce67e41adf18 |
Close
Hashes for aws_cdk.aws_s3_notifications-1.110.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 393224738982fa4384fc21a84f8e812b28d10803740abdcef833881b02572c7d |
|
MD5 | bff3c56f25237e715e814bf6477a530b |
|
BLAKE2b-256 | 4f9f4395e037aa462d009b76b43915e021abd097e05da143e254865c780c226e |