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.80.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1d16d528f50113c2f54d4d04e16b58af5282e98aecc8bbe409e17b4cdb38798d |
|
MD5 | 20afc4ce2947cffe0704ba86aec6030f |
|
BLAKE2b-256 | aa81a8dd35759349652635229064f0aab6b68104ff2daee1672e66dd5240927f |
Close
Hashes for aws_cdk.aws_s3_notifications-1.80.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | cd6b88f211482714e045b498501d9711418c4c11abdbe22b8aa1be30d03c41e9 |
|
MD5 | 4dfa6ec87bb55b57077a99fde8fd3e24 |
|
BLAKE2b-256 | d397bcd86f2a0ae35119e56a85f4d661db6973ec50fd5c91da1a2330acd75ca9 |