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.98.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8f597fa65228bbef2a097fe42bf5f1fa7752525f886f142caf79559fbfddba6f |
|
MD5 | ec4a2e9d2830f4e75fd3ac4c143366f5 |
|
BLAKE2b-256 | 56112a4397689a0f6df3e47073b975f1cf0f6c88f207dc7d4009495e9dea40ec |
Close
Hashes for aws_cdk.aws_s3_notifications-1.98.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9e239c766e3fed4e8670d72df5e47be7c9deeb828b7a99287cec4672a045755c |
|
MD5 | 4dbeb01643158d98f681e6fedf299c2d |
|
BLAKE2b-256 | 1f750cc213431c7fbb88a122d9ad6696028724e2e816b6f38875bd1afb0cc747 |