ByteMatchTuple class

Constructors

ByteMatchTuple({required FieldToMatch fieldToMatch, required PositionalConstraint positionalConstraint, required Uint8List targetString, required TextTransformation textTransformation})
ByteMatchTuple.fromJson(Map<String, dynamic> json)
factory

Properties

fieldToMatch FieldToMatch
The part of a web request that you want AWS WAF to search, such as a specified header or a query string. For more information, see FieldToMatch.
final
hashCode int
The hash code for this object.
no setterinherited
positionalConstraint PositionalConstraint
Within the portion of a web request that you want to search (for example, in the query string, if any), specify where you want AWS WAF to search. Valid values include the following:
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
targetString Uint8List
The value that you want AWS WAF to search for. AWS WAF searches for the specified string in the part of web requests that you specified in FieldToMatch. The maximum length of the value is 50 bytes.
final
textTransformation TextTransformation
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 performs the transformation on FieldToMatch before inspecting it for a match.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited