RuleGroupRuleStatementByteMatchStatement constructor
- Input<
RuleGroupRuleStatementByteMatchStatementFieldToMatch?> ? fieldToMatch, - required Input<
String> positionalConstraint, - Input<
List< ? preParseTextTransformations,RuleGroupRuleStatementByteMatchStatementPreParseTextTransformation> ?> - required Input<
String> searchString, - required Input<
List< textTransformations,RuleGroupRuleStatementByteMatchStatementTextTransformation> >
Creates a new RuleGroupRuleStatementByteMatchStatement.
fieldToMatch The part of a web request that you want AWS WAF to inspect. See Field to Match below for details.
positionalConstraint The area within the portion of a web request that you want AWS WAF to search for searchString. Valid values include the following: EXACTLY, STARTS_WITH, ENDS_WITH, CONTAINS, CONTAINS_WORD. See the AWS documentation for more information.
preParseTextTransformations Text transformations to apply to the raw query string before AWS WAF parses the string into individual query arguments, and before any textTransformation is applied. Supported only when fieldToMatch specifies singleQueryArgument or allQueryArguments. Maximum of 10. See Pre-Parse Text Transformation below for details.
searchString A string value that you want AWS WAF to search for. AWS WAF searches only in the part of web requests that you designate for inspection in fieldToMatch. The maximum length of the value is 50 bytes.
textTransformations Text transformations eliminate some of the unusual formatting that attackers use in web requests in an effort to bypass detection.
Implementation
const RuleGroupRuleStatementByteMatchStatement({
this.fieldToMatch,
required this.positionalConstraint,
this.preParseTextTransformations,
required this.searchString,
required this.textTransformations,
});