import { Value } from '../../../cloudformation/Value';
import { ActionProps } from './ActionProps';
/**
  Describes a rule.
  For full documentation go to <a href="http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iot-topicrule-topicrulepayload.html">the AWS Docs</a>
*/
export interface TopicRulePayloadProps {
    /** <code>RuleDisabled</code>  <a name="cfn-iot-topicrule-topicrulepayload-ruledisabled"></a>
  Specifies whether the rule is disabled.<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> */
    ruleDisabled?: Value<boolean>;
    /** <code>ErrorAction</code>  <a name="cfn-iot-topicrule-topicrulepayload-erroraction"></a>
  The action to take when an error occurs.<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> */
    errorAction?: ActionProps;
    /** <code>Description</code>  <a name="cfn-iot-topicrule-topicrulepayload-description"></a>
  The description of the rule.<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> */
    description?: Value<string>;
    /** <code>AwsIotSqlVersion</code>  <a name="cfn-iot-topicrule-topicrulepayload-awsiotsqlversion"></a>
  The version of the SQL rules engine to use when evaluating the rule.<br />
  The default value is 2015-10-08.<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> */
    awsIotSqlVersion?: Value<string>;
    /** <code>Actions</code>  <a name="cfn-iot-topicrule-topicrulepayload-actions"></a>
  The actions associated with the rule.<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> */
    actions: ActionProps[];
    /** <code>Sql</code>  <a name="cfn-iot-topicrule-topicrulepayload-sql"></a>
  The SQL statement used to query the topic. For more information, see <a href="https://docs.aws.amazon.com/iot/latest/developerguide/iot-sql-reference.html">AWS IoT SQL Reference</a> in the * AWS IoT Developer Guide*.<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> */
    sql: Value<string>;
}
