Interface CfnTopicRule.IotAnalyticsActionProperty

All Superinterfaces:
All Known Implementing Classes:
Enclosing class:

@Stability(Stable) public static interface CfnTopicRule.IotAnalyticsActionProperty extends
Sends message data to an AWS IoT Analytics channel.


 // The code below shows an example of how to instantiate this type.
 // The values are placeholders you should change.
 IotAnalyticsActionProperty iotAnalyticsActionProperty = IotAnalyticsActionProperty.builder()
         // the properties below are optional
  • Method Details

    • getChannelName

      @Stability(Stable) @NotNull String getChannelName()
      The name of the IoT Analytics channel to which message data will be sent.
    • getRoleArn

      @Stability(Stable) @NotNull String getRoleArn()
      The ARN of the role which has a policy that grants IoT Analytics permission to send message data via IoT Analytics (iotanalytics:BatchPutMessage).
    • getBatchMode

      @Stability(Stable) @Nullable default Object getBatchMode()
      Whether to process the action as a batch. The default value is false .

      When batchMode is true and the rule SQL statement evaluates to an Array, each Array element is delivered as a separate message when passed by BatchPutMessage The resulting array can't have more than 100 messages.

    • builder

      @Stability(Stable) static CfnTopicRule.IotAnalyticsActionProperty.Builder builder()
      a CfnTopicRule.IotAnalyticsActionProperty.Builder of CfnTopicRule.IotAnalyticsActionProperty