Class CfnTopicRule.IotAnalyticsActionProperty
Sends message data to an AWS IoT Analytics channel.
Inheritance
Implements
Namespace: Amazon.CDK.AWS.IoT
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class IotAnalyticsActionProperty : Object, CfnTopicRule.IIotAnalyticsActionProperty
Syntax (vb)
Public Class IotAnalyticsActionProperty
Inherits Object
Implements CfnTopicRule.IIotAnalyticsActionProperty
Remarks
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.IoT;
var iotAnalyticsActionProperty = new IotAnalyticsActionProperty {
ChannelName = "channelName",
RoleArn = "roleArn",
// the properties below are optional
BatchMode = false
};
Synopsis
Constructors
IotAnalyticsActionProperty() |
Properties
BatchMode | Whether to process the action as a batch. The default value is |
ChannelName | The name of the IoT Analytics channel to which message data will be sent. |
RoleArn | The ARN of the role which has a policy that grants IoT Analytics permission to send message data via IoT Analytics (iotanalytics:BatchPutMessage). |
Constructors
IotAnalyticsActionProperty()
public IotAnalyticsActionProperty()
Properties
BatchMode
Whether to process the action as a batch. The default value is false
.
public object BatchMode { get; set; }
Property Value
System.Object
Remarks
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.
ChannelName
The name of the IoT Analytics channel to which message data will be sent.
public string ChannelName { get; set; }
Property Value
System.String
Remarks
RoleArn
The ARN of the role which has a policy that grants IoT Analytics permission to send message data via IoT Analytics (iotanalytics:BatchPutMessage).
public string RoleArn { get; set; }
Property Value
System.String