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 may have issues. 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.14.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | afd85e2955517d5da649ff5b4fe0c75811567f5d101aaa75ad133b0f7aef256f |
|
MD5 | 606440acecfe64f00054e5fa673cd100 |
|
BLAKE2b-256 | 9f2d987860a20d2d695beaed76bd813c2f25b2cb093e4bfa05efc34b8e8da163 |
Close
Hashes for aws_cdk.aws_s3_notifications-1.14.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f886b9ed356fc2263d9d00651e58b81b73127428d049a1e74abee74e5d5479f5 |
|
MD5 | ef2e866d4bd908fa840d44468192fda8 |
|
BLAKE2b-256 | 88ac117d12302b14eb9242c3b04897a89f340c1c524d924f1bf86002a10a9818 |