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

software.amazon.awscdk.services.iot.actions.alpha.SnsActionMessageFormat Maven / Gradle / Ivy

There is a newer version: 2.167.1-alpha.0
Show newest version
package software.amazon.awscdk.services.iot.actions.alpha;

/**
 * (experimental) SNS topic action message format options.
 * 

* Example: *

*

 * import software.amazon.awscdk.services.sns.*;
 * Topic topic = new Topic(this, "MyTopic");
 * TopicRule topicRule = TopicRule.Builder.create(this, "TopicRule")
 *         .sql(IotSql.fromStringAsVer20160323("SELECT topic(2) as device_id, year, month, day FROM 'device/+/data'"))
 *         .actions(List.of(
 *             SnsTopicAction.Builder.create(topic)
 *                     .messageFormat(SnsActionMessageFormat.JSON)
 *                     .build()))
 *         .build();
 * 
*/ @javax.annotation.Generated(value = "jsii-pacmak/1.103.1 (build bef2dea)", date = "2024-10-05T03:43:53.730Z") @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) @software.amazon.jsii.Jsii(module = software.amazon.awscdk.services.iot.actions.alpha.$Module.class, fqn = "@aws-cdk/aws-iot-actions-alpha.SnsActionMessageFormat") public enum SnsActionMessageFormat { /** * (experimental) RAW message format. */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) RAW, /** * (experimental) JSON message format. */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) JSON, }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy