AWS::IoT::TopicRule IotAnalyticsAction
Sends message data to an AWS IoT Analytics channel.
Syntax
To declare this entity in your AWS CloudFormation template, use the following syntax:
JSON
{ "BatchMode" :
Boolean
, "ChannelName" :String
, "RoleArn" :String
}
YAML
BatchMode:
Boolean
ChannelName:String
RoleArn:String
Properties
BatchMode
-
Whether to process the action as a batch. The default value is
false
.When
batchMode
istrue
and the rule SQL statement evaluates to an Array, each Array element is delivered as a separate message when passed byBatchPutMessage
The resulting array can't have more than 100 messages.Required: No
Type: Boolean
Update requires: No interruption
ChannelName
-
The name of the IoT Analytics channel to which message data will be sent.
Required: Yes
Type: String
Update requires: No interruption
RoleArn
-
The ARN of the role which has a policy that grants IoT Analytics permission to send message data via IoT Analytics (iotanalytics:BatchPutMessage).
Required: Yes
Type: String
Update requires: No interruption
See also
-
IotAnalyticsAction in the AWS IoT API Reference.