All Downloads are FREE. Search and download functionalities are using the official Maven repository.

software.amazon.awscdk.services.s3.notifications.package-info Maven / Gradle / Ivy

There is a newer version: 1.204.0
Show newest version
/**
 * 

S3 Bucket Notifications Destinations

*

* --- *

* cdk-constructs: Stable *

*


*

* *

* 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 software.amazon.awscdk.services.s3.notifications.*;
 * 
 * var bucket = new Bucket(stack, "Bucket");
 * var topic = new Topic(stack, "Topic");
 * 
 * bucket.addEventNotification(s3.EventType.getOBJECT_CREATED_PUT(), new SnsDestination(topic));
 * 
*/ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable) package software.amazon.awscdk.services.s3.notifications;




© 2015 - 2024 Weber Informatics LLC | Privacy Policy