interface IotAnalyticsActionProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.Mixins.Preview.AWS.IoT.Mixins.CfnTopicRulePropsMixin.IotAnalyticsActionProperty |
Go | github.com/aws/aws-cdk-go/awscdkmixinspreview/v2/awsiot/mixins#CfnTopicRulePropsMixin_IotAnalyticsActionProperty |
Java | software.amazon.awscdk.mixins.preview.services.iot.mixins.CfnTopicRulePropsMixin.IotAnalyticsActionProperty |
Python | aws_cdk.mixins_preview.aws_iot.mixins.CfnTopicRulePropsMixin.IotAnalyticsActionProperty |
TypeScript | @aws-cdk/mixins-preview » aws_iot » mixins » CfnTopicRulePropsMixin » IotAnalyticsActionProperty |
Sends message data to an AWS IoT Analytics channel.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { mixins as iot_mixins } from '@aws-cdk/mixins-preview/aws-iot';
const iotAnalyticsActionProperty: iot_mixins.CfnTopicRulePropsMixin.IotAnalyticsActionProperty = {
batchMode: false,
channelName: 'channelName',
roleArn: 'roleArn',
};
Properties
| Name | Type | Description |
|---|---|---|
| batch | boolean | IResolvable | Whether to process the action as a batch. The default value is false . |
| channel | string | The name of the IoT Analytics channel to which message data will be sent. |
| role | string | The ARN of the role which has a policy that grants IoT Analytics permission to send message data via IoT Analytics (iotanalytics:BatchPutMessage). |
batchMode?
Type:
boolean | IResolvable
(optional)
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.
channelName?
Type:
string
(optional)
The name of the IoT Analytics channel to which message data will be sent.
roleArn?
Type:
string
(optional)
The ARN of the role which has a policy that grants IoT Analytics permission to send message data via IoT Analytics (iotanalytics:BatchPutMessage).

.NET
Go
Java
Python
TypeScript