SizeConstraintSetSizeConstraint class

Constructors

SizeConstraintSetSizeConstraint({required Input<String> comparisonOperator, required Input<SizeConstraintSetSizeConstraintFieldToMatch> fieldToMatch, required Input<int> size, required Input<String> textTransformation})
Creates a new SizeConstraintSetSizeConstraint. comparisonOperator Type of comparison you want to perform, such as EQ, NE, LT, or GT. Please refer to the documentation for a complete list of supported values. fieldToMatch Parameter that specifies where in a web request to look for the size constraint. size Size in bytes that you want to compare against the size of the specified fieldToMatch. Valid values for size are between 0 and 21474836480 bytes (0 and 20 GB). textTransformation Parameter is used to eliminate unusual formatting that attackers may use in web requests to bypass AWS WAF. When a transformation is specified, AWS WAF performs the transformation on the fieldToMatch before inspecting the request for a match. Some examples of supported transformations are CMD_LINE, HTML_ENTITY_DECODE, and NONE. You can find a complete list of supported values in the AWS WAF API Reference.
const
SizeConstraintSetSizeConstraint.fromMap(Map<String, dynamic> map)
factory

Properties

comparisonOperator → Input<String>
Type of comparison you want to perform, such as EQ, NE, LT, or GT. Please refer to the documentation for a complete list of supported values.
final
fieldToMatch → Input<SizeConstraintSetSizeConstraintFieldToMatch>
Parameter that specifies where in a web request to look for the size constraint.
final
hashCode → int
The hash code for this object.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
size → Input<int>
Size in bytes that you want to compare against the size of the specified fieldToMatch. Valid values for size are between 0 and 21474836480 bytes (0 and 20 GB).
final
textTransformation → Input<String>
Parameter is used to eliminate unusual formatting that attackers may use in web requests to bypass AWS WAF. When a transformation is specified, AWS WAF performs the transformation on the fieldToMatch before inspecting the request for a match. Some examples of supported transformations are CMD_LINE, HTML_ENTITY_DECODE, and NONE. You can find a complete list of supported values in the AWS WAF API Reference. Note: If you choose BODY as the type, you must also choose NONE because CloudFront only forwards the first 8192 bytes for inspection.
final

Methods

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

Operators

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