This is the new AWS CloudFormation Template Reference Guide. Please update your bookmarks and links. For help getting started with CloudFormation, see the AWS CloudFormation User Guide.
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:BooleanChannelName:StringRoleArn:String
Properties
BatchMode-
Whether to process the action as a batch. The default value is
false.When
batchModeistrueand the rule SQL statement evaluates to an Array, each Array element is delivered as a separate message when passed byBatchPutMessageThe 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.