import { Value } from '../../../cloudformation/Value';
import { FieldToMatchProps } from './FieldToMatchProps';
/**
  <strong>Note</strong><br />
This is ** AWS WAF Classic** documentation. For more information, see <a href="https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html">AWS WAF Classic</a> in the developer guide.<br />
**For the latest version of AWS WAF **, use the AWS WAFV2 API and see the <a href="https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html">AWS WAF Developer Guide</a>. With the latest version, AWS WAF has a single set of endpoints for regional and global use.
  For full documentation go to <a href="http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wafregional-bytematchset-bytematchtuple.html">the AWS Docs</a>
*/
export interface ByteMatchTupleProps {
    /** <p> */
    targetString?: Value<string>;
    /** <code>TargetStringBase64</code>  <a name="cfn-wafregional-bytematchset-bytematchtuple-targetstringbase64"></a>
  The base64-encoded value that AWS WAF searches for. AWS CloudFormation sends this value to AWS WAF without encoding it.<br />
  You must specify this property or the <code>TargetString</code> property.<br />
  AWS WAF searches for this value in a specific part of web requests, which you define in the <code>FieldToMatch</code> property.<br />
  Valid values depend on the Type value in the <code>FieldToMatch</code> property. For example, for a <code>METHOD</code> type, you must specify HTTP methods such as <code>DELETE, GET, HEAD, OPTIONS, PATCH, POST</code>, and <code>PUT</code>.<br />
  
  Required: Conditional<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> */
    targetStringBase64?: Value<string>;
    /** <p> */
    positionalConstraint: Value<string>;
    /** <p> */
    textTransformation: Value<string>;
    /** <code>FieldToMatch</code>  <a name="cfn-wafregional-bytematchset-bytematchtuple-fieldtomatch"></a>
  The part of a web request that you want AWS WAF to inspect, such as a specific header or a query string.<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> */
    fieldToMatch: FieldToMatchProps;
}
