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.86.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 41114d49eee7ac2854270ae1a3ea6e9dc2e451805f667d1ec1e439abec6d8cea |
|
MD5 | 1ebcad886a825d3fc09c761c9b93841a |
|
BLAKE2b-256 | 1958c3e6018429eedf5aeaa6d9a4f16ebcdfcde5dfe09dba66f48958c7b22f98 |
Close
Hashes for aws_cdk.aws_s3_notifications-1.86.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | bddd9944b4f469b8e464f72afa2840fae45816e42eb8d5cd3372865669c3adf2 |
|
MD5 | 8c44cddef156ee598e4ed408525e210b |
|
BLAKE2b-256 | 326fd2af6769e93197c3ebea732a77dc3da6643d392409eb68718461d82bda94 |