Class: AWSWAFByteMatchSetByteMatchTuples

Types~AWSWAFByteMatchSetByteMatchTuples

new AWSWAFByteMatchSetByteMatchTuples()

Properties:
Name Type Description
FieldToMatch AWSWAFByteMatchSetByteMatchTuplesFieldToMatch Required: Yes. The part of a web request that you want AWS WAF to search, such as a specific header or a query string.
PositionalConstraint String Required: Yes. How AWS WAF finds matches within the web request part in which you are searching. For valid values, see the PositionalConstraint content for the ByteMatchTuple data type in the AWS WAF API Reference.
TargetString String Required: Conditional. The value that AWS WAF searches for. AWS CloudFormation base64 encodes this value before sending it to AWS WAF.AWS WAF searches for this value in a specific part of web requests, which you define in the FieldToMatch property.Valid values depend on the Type value in the FieldToMatch property. For example, for a METHOD type, you must specify HTTP methods such as DELETE, GET, HEAD, OPTIONS, PATCH, POST, and PUT. For more information, see the TargetString content for the ByteMatchTuple data type in the AWS WAF API Reference.
TargetStringBase64 String Required: Conditional. The base64-encoded value that AWS WAF searches for. AWS CloudFormation sends this value to AWS WAF without encoding it.AWS WAF searches for this value in a specific part of web requests, which you define in the FieldToMatch property.Valid values depend on the Type value in the FieldToMatch property. For example, for a METHOD type, you must specify HTTP methods such as DELETE, GET, HEAD, OPTIONS, PATCH, POST, and PUT. For more information, see the TargetString content for the ByteMatchTuple data type in the AWS WAF API Reference.
TextTransformation String Required: Yes. Specifies how AWS WAF processes the target string value. Text transformations eliminate some of the unusual formatting that attackers use in web requests in an effort to bypass AWS WAF. If you specify a transformation, AWS WAF transforms the target string value before inspecting a web request for a match.For example, AWS WAF can replace whitespace characters (such as \t and \n) with a single space. For valid values, see the TextTransformation content for the ByteMatchTuple data type in the AWS WAF API Reference.
Source: