import { Value } from '../../../cloudformation/Value';
/**
  Configures inspection of the response header. This is part of the <code>ResponseInspection</code> configuration for <code>AWSManagedRulesATPRuleSet</code> and <code>AWSManagedRulesACFPRuleSet</code>.
  For full documentation go to <a href="http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wafv2-webacl-responseinspectionheader.html">the AWS Docs</a>
*/
export interface ResponseInspectionHeaderProps {
    /** <code>SuccessValues</code>  <a name="cfn-wafv2-webacl-responseinspectionheader-successvalues"></a>
  Values in the response header with the specified name that indicate a successful login or account creation attempt. To be counted as a success, the value must be an exact match, including case. Each value must be unique among the success and failure values.<br />
  JSON examples: <code>&quot;SuccessValues&quot;: [ &quot;LoginPassed&quot;, &quot;Successful login&quot; ]</code> and <code>&quot;SuccessValues&quot;: [ &quot;AccountCreated&quot;, &quot;Successful account creation&quot; ]</code><br />
  
  Required: Yes<br />
  
  Maximum: <code>3</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> */
    successValues: Value<Value<string>[]>;
    /** <code>FailureValues</code>  <a name="cfn-wafv2-webacl-responseinspectionheader-failurevalues"></a>
  Values in the response header with the specified name that indicate a failed login or account creation attempt. To be counted as a failure, the value must be an exact match, including case. Each value must be unique among the success and failure values.<br />
  JSON examples: <code>&quot;FailureValues&quot;: [ &quot;LoginFailed&quot;, &quot;Failed login&quot; ]</code> and <code>&quot;FailureValues&quot;: [ &quot;AccountCreationFailed&quot; ]</code><br />
  
  Required: Yes<br />
  
  Maximum: <code>3</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> */
    failureValues: Value<Value<string>[]>;
    /** <code>Name</code>  <a name="cfn-wafv2-webacl-responseinspectionheader-name"></a>
  The name of the header to match against. The name must be an exact match, including case.<br />
  JSON example: <code>&quot;Name&quot;: [ &quot;RequestResult&quot; ]</code><br />
  
  Required: Yes<br />
  
  Minimum: <code>1</code><br />
  
  Maximum: <code>200</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> */
    name: Value<string>;
}
