WebAclRuleStatementByteMatchStatement constructor

const WebAclRuleStatementByteMatchStatement({
  1. Input<WebAclRuleStatementByteMatchStatementFieldToMatch?>? fieldToMatch,
  2. required Input<String> positionalConstraint,
  3. required Input<String> searchString,
  4. Input<List<WebAclRuleStatementByteMatchStatementTextTransformation>?>? textTransformations,
})

Creates a new WebAclRuleStatementByteMatchStatement. fieldToMatch Part of the web request that you want WAF to inspect. See Field to Match below. positionalConstraint Area within the portion of the web request that you want WAF to search for searchString. Valid values: EXACTLY, STARTS_WITH, ENDS_WITH, CONTAINS, CONTAINS_WORD. searchString String value to search for within the request (1-200 characters). textTransformations Text transformations eliminate some of the unusual formatting that attackers use in web requests in an effort to bypass detection. See Text Transformation below.

Implementation

const WebAclRuleStatementByteMatchStatement({
  this.fieldToMatch,
  required this.positionalConstraint,
  required this.searchString,
  this.textTransformations,
});