import { Value } from '../../../cloudformation/Value';
import { RuleActionOverrideProps } from './RuleActionOverrideProps';
import { ManagedRuleGroupConfigProps } from './ManagedRuleGroupConfigProps';
import { ExcludedRuleProps } from './ExcludedRuleProps';
import { StatementProps } from './StatementProps';
/**
  A rule statement used to run the rules that are defined in a managed rule group. To use this, provide the vendor name and the name of the rule group in this statement. You can retrieve the required names through the API call <code>ListAvailableManagedRuleGroups</code>.
  For full documentation go to <a href="http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wafv2-webacl-managedrulegroupstatement.html">the AWS Docs</a>
*/
export interface ManagedRuleGroupStatementProps {
    /** <code>VendorName</code>  <a name="cfn-wafv2-webacl-managedrulegroupstatement-vendorname"></a>
  The name of the managed rule group vendor. You use this, along with the rule group name, to identify a rule group.<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> */
    vendorName: Value<string>;
    /** <code>Version</code>  <a name="cfn-wafv2-webacl-managedrulegroupstatement-version"></a>
  The version of the managed rule group to use. If you specify this, the version setting is fixed until you change it. If you don’t specify this, AWS WAF uses the vendor’s default version, and then keeps the version at the vendor’s default when the vendor updates the managed rule group settings.<br />
  
  Required: No<br />
  
  Minimum: <code>1</code><br />
  
  Maximum: <code>64</code><br />
  
  Pattern: <code>^[\w#:\.\-/]+$</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> */
    version?: Value<string>;
    /** <code>RuleActionOverrides</code>  <a name="cfn-wafv2-webacl-managedrulegroupstatement-ruleactionoverrides"></a>
  Action settings to use in the place of the rule actions that are configured inside the rule group. You specify one override for each rule whose action you want to change.<br />
  You can use overrides for testing, for example you can override all of rule actions to <code>Count</code> and then monitor the resulting count metrics to understand how the rule group would handle your web traffic. You can also permanently override some or all actions, to modify how the rule group manages your web traffic.<br />
  
  Required: No<br />
  
  Maximum: <code>100</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> */
    ruleActionOverrides?: RuleActionOverrideProps[];
    /** <p> */
    managedRuleGroupConfigs?: ManagedRuleGroupConfigProps[];
    /** <code>ExcludedRules</code>  <a name="cfn-wafv2-webacl-managedrulegroupstatement-excludedrules"></a>
  Rules in the referenced rule group whose actions are set to <code>Count</code>.<br />
  Instead of this option, use <code>RuleActionOverrides</code>. It accepts any valid action setting, including <code>Count</code>.
  
  Required: No<br />
  
  Maximum: <code>100</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> */
    excludedRules?: ExcludedRuleProps[];
    /** <code>Name</code>  <a name="cfn-wafv2-webacl-managedrulegroupstatement-name"></a>
  The name of the managed rule group. You use this, along with the vendor name, to identify the rule group.<br />
  
  Required: Yes<br />
  
  Minimum: <code>1</code><br />
  
  Maximum: <code>128</code><br />
  
  Pattern: <code>^[\w\-]+$</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> */
    name: Value<string>;
    /** <code>ScopeDownStatement</code>  <a name="cfn-wafv2-webacl-managedrulegroupstatement-scopedownstatement"></a>
  An optional nested statement that narrows the scope of the web requests that are evaluated by the managed rule group. Requests are only evaluated by the rule group if they match the scope-down statement. You can use any nestable <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wafv2-webacl-notstatement.html#cfn-wafv2-webacl-notstatement-statement">Statement</a> in the scope-down statement, and you can nest statements at any level, the same as you can for a rule statement.<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> */
    scopeDownStatement?: StatementProps;
}
