Metadata-Version: 2.1
Name: aws-cdk.aws-s3-notifications
Version: 1.11.0
Summary: Bucket Notifications API for AWS S3
Home-page: https://github.com/aws/aws-cdk
Author: Amazon Web Services
License: UNKNOWN
Project-URL: Source, https://github.com/aws/aws-cdk.git
Platform: UNKNOWN
Requires-Python: >=3.6
Description-Content-Type: text/markdown
Requires-Dist: jsii (~=0.17.1)
Requires-Dist: publication (>=0.0.3)
Requires-Dist: aws-cdk.aws-iam (>=1.11.0,~=1.11)
Requires-Dist: aws-cdk.aws-lambda (>=1.11.0,~=1.11)
Requires-Dist: aws-cdk.aws-s3 (>=1.11.0,~=1.11)
Requires-Dist: aws-cdk.aws-sns (>=1.11.0,~=1.11)
Requires-Dist: aws-cdk.aws-sqs (>=1.11.0,~=1.11)
Requires-Dist: aws-cdk.core (>=1.11.0,~=1.11)

## S3 Bucket Notifications Destinations
<!--BEGIN STABILITY BANNER-->

---

![Stability: Stable](https://img.shields.io/badge/stability-Stable-success.svg?style=for-the-badge)


---
<!--END STABILITY BANNER-->

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:

```ts
import s3n = require('@aws-cdk/aws-s3-notifications');

const bucket = new s3.Bucket(stack, 'Bucket');
const topic = new sns.Topic(stack, 'Topic');

bucket.addEventNotification(s3.EventType.OBJECT_CREATED_PUT, new s3n.SnsDestination(topic));
```


