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.119.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1b60e260995b84aa1c3310194643b5ab7bb4e95b912a4c3573d2b0bf7d096d64 |
|
MD5 | 834e2fd34685034e24770fec60a78a65 |
|
BLAKE2b-256 | c8e40e30d9568608b43eb29aefb3ce477444f6d5a8c836186b27a20bb04c5c7c |
Close
Hashes for aws_cdk.aws_s3_notifications-1.119.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 86e2696b26cd0fa94cf020b39d2a965208349e71cf8d1f604e2bee7cbfa32002 |
|
MD5 | 32ec388404b04743157e1595816e4ff5 |
|
BLAKE2b-256 | afa618f4334a12e31e26b3960dc1a8e3568d9e2dbab770d66c425188f7f38a11 |