WebAclSizeConstraintStatementArgs

data class WebAclSizeConstraintStatementArgs(val comparisonOperator: Output<WebAclSizeConstraintStatementComparisonOperator>, val fieldToMatch: Output<WebAclFieldToMatchArgs>, val size: Output<Double>, val textTransformations: Output<List<WebAclTextTransformationArgs>>) : ConvertibleToJava<WebAclSizeConstraintStatementArgs>

Size Constraint statement.

Constructors

Link copied to clipboard
constructor(comparisonOperator: Output<WebAclSizeConstraintStatementComparisonOperator>, fieldToMatch: Output<WebAclFieldToMatchArgs>, size: Output<Double>, textTransformations: Output<List<WebAclTextTransformationArgs>>)

Properties

Link copied to clipboard

The operator to use to compare the request part to the size setting.

Link copied to clipboard

The part of the web request that you want AWS WAF to inspect.

Link copied to clipboard
val size: Output<Double>

The size, in byte, to compare to the request part, after any transformations.

Link copied to clipboard

Text transformations eliminate some of the unusual formatting that attackers use in web requests in an effort to bypass detection. If you specify one or more transformations in a rule statement, AWS WAF performs all transformations on the content of the request component identified by FieldToMatch , starting from the lowest priority setting, before inspecting the content for a match.

Functions

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