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.36.1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | f0ca045793e6930bd1151ba7c5459d00d1b5c5dcc4fde10a9cfd741d2e98fff6 |
|
MD5 | f5fe3b8086afd1a117d64ed3edc3a5b1 |
|
BLAKE2b-256 | 8b711568cd4c67a8c1f144bfe907a255a3d3ae5827b1a4710b61d56d65580490 |
Close
Hashes for aws_cdk.aws_s3_notifications-1.36.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | efc74a350d4e7a1288db895add9e96376b7e2e2bdcb1fa04b2d2ce8164ae36ee |
|
MD5 | 122b0f762407fe8776283e077644ae6c |
|
BLAKE2b-256 | 2c71c28faa7c2104b0acf0567b4e0a304c88425504a71b7581296ef88ea35d04 |