SizeConstraintSetSizeConstraintArgs

data class SizeConstraintSetSizeConstraintArgs(val comparisonOperator: Output<String>, val fieldToMatch: Output<SizeConstraintSetSizeConstraintFieldToMatchArgs>, val size: Output<Int>, val textTransformation: Output<String>) : ConvertibleToJava<SizeConstraintSetSizeConstraintArgs>

Constructors

Link copied to clipboard
constructor(comparisonOperator: Output<String>, fieldToMatch: Output<SizeConstraintSetSizeConstraintFieldToMatchArgs>, size: Output<Int>, textTransformation: Output<String>)

Properties

Link copied to clipboard

The type of comparison you want to perform. e.g., EQ, NE, LT, GT. See docs for all supported values.

Link copied to clipboard

Specifies where in a web request to look for the size constraint.

Link copied to clipboard
val size: Output<Int>

The size in bytes that you want to compare against the size of the specified field_to_match. Valid values are between 0 - 21474836480 bytes (0 - 20 GB).

Link copied to clipboard

Text transformations used to eliminate 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 field_to_match before inspecting a request for a match. e.g., CMD_LINE, HTML_ENTITY_DECODE or NONE. See docs for all supported values. Note: if you choose BODY as type, you must choose NONE because CloudFront forwards only the first 8192 bytes for inspection.

Functions

Link copied to clipboard
open override fun toJava(): SizeConstraintSetSizeConstraintArgs