import { WafActionProps } from './WafActionProps';
import { Value } from '../../../cloudformation/Value';
/**
  The <code>ActivatedRule</code> object in an <code>UpdateWebACL</code> request specifies a <code>Rule</code> that you want to insert or delete, the priority of the <code>Rule</code> in the <code>WebACL</code>, and the action that you want AWS WAF to take when a web request matches the <code>Rule</code> (<code>ALLOW</code>, <code>BLOCK</code>, or <code>COUNT</code>).
  For full documentation go to <a href="http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-waf-webacl-rules.html">the AWS Docs</a>
*/
export interface ActivatedRuleProps {
    /** <p> */
    action?: WafActionProps;
    /** <code>Priority</code>  <a name="cfn-waf-webacl-rules-priority"></a>
  Specifies the order in which the <code>Rules</code> in a <code>WebACL</code> are evaluated. Rules with a lower value for <code>Priority</code> are evaluated before <code>Rules</code> with a higher value. The value must be a unique integer. If you add multiple <code>Rules</code> to a <code>WebACL</code>, the values don’t need to be consecutive.<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> */
    priority: Value<number>;
    /** <code>RuleId</code>  <a name="cfn-waf-webacl-rules-ruleid"></a>
  The <code>RuleId</code> for a <code>Rule</code>. You use <code>RuleId</code> to get more information about a <code>Rule</code>, update a <code>Rule</code>, insert a <code>Rule</code> into a <code>WebACL</code> or delete a one from a <code>WebACL</code>, or delete a <code>Rule</code> from AWS WAF.<br />
  <code>RuleId</code> is returned by <code>CreateRule</code> and by <code>ListRules</code>.<br />
  
  Required: Yes<br />
  
  Minimum: <code>1</code><br />
  
  Maximum: <code>128</code><br />
  
  Pattern: <code>.*\S.*</code><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> */
    ruleId: Value<string>;
}
