import { Value } from '../../../cloudformation/Value';
/**
  Sends an input to an AWS IoT Events detector.
  For full documentation go to <a href="http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iot-topicrule-ioteventsaction.html">the AWS Docs</a>
*/
export interface IotEventsActionProps {
    /** <code>InputName</code>  <a name="cfn-iot-topicrule-ioteventsaction-inputname"></a>
  The name of the AWS IoT Events input.<br />
  
  Required: Yes<br />
  
  Update requires: <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt">No interruption</a> */
    inputName: Value<string>;
    /** <code>BatchMode</code>  <a name="cfn-iot-topicrule-ioteventsaction-batchmode"></a>
  Whether to process the event actions as a batch. The default value is <code>false</code>.<br />
  When <code>batchMode</code> is <code>true</code>, you can’t specify a <code>messageId</code>.<br />
  When <code>batchMode</code> is <code>true</code> and the rule SQL statement evaluates to an Array, each Array element is treated as a separate message when Events by calling <a href="https://docs.aws.amazon.com/iotevents/latest/apireference/API_iotevents-data_BatchPutMessage.html">https://docs.aws.amazon.com/iotevents/latest/apireference/API_iotevents-data_BatchPutMessage.html</a>. The resulting array can’t have more than 10 messages.<br />
  
  Required: No<br />
  
  Update requires: <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt">No interruption</a> */
    batchMode?: Value<boolean>;
    /** <code>RoleArn</code>  <a name="cfn-iot-topicrule-ioteventsaction-rolearn"></a>
  The ARN of the role that grants AWS IoT permission to send an input to an AWS IoT Events detector. (“Action”:“iotevents:BatchPutMessage”).<br />
  
  Required: Yes<br />
  
  Update requires: <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt">No interruption</a> */
    roleArn: Value<string>;
    /** <code>MessageId</code>  <a name="cfn-iot-topicrule-ioteventsaction-messageid"></a>
  The ID of the message. The default <code>messageId</code> is a new UUID value.<br />
  When <code>batchMode</code> is <code>true</code>, you can’t specify a <code>messageId</code>--a new UUID value will be assigned.<br />
  Assign a value to this property to ensure that only one input (message) with a given <code>messageId</code> will be processed by an AWS IoT Events detector.<br />
  
  Required: No<br />
  
  Update requires: <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt">No interruption</a> */
    messageId?: Value<string>;
}
