RuleGroupJsonBodyArgs

data class RuleGroupJsonBodyArgs(val invalidFallbackBehavior: Output<RuleGroupBodyParsingFallbackBehavior>? = null, val matchPattern: Output<RuleGroupJsonMatchPatternArgs>, val matchScope: Output<RuleGroupJsonMatchScope>, val oversizeHandling: Output<RuleGroupOversizeHandling>? = null) : ConvertibleToJava<RuleGroupJsonBodyArgs>

Inspect the request body as JSON. The request body immediately follows the request headers.

Constructors

Link copied to clipboard
constructor(invalidFallbackBehavior: Output<RuleGroupBodyParsingFallbackBehavior>? = null, matchPattern: Output<RuleGroupJsonMatchPatternArgs>, matchScope: Output<RuleGroupJsonMatchScope>, oversizeHandling: Output<RuleGroupOversizeHandling>? = null)

Properties

Link copied to clipboard

What AWS WAF should do if it fails to completely parse the JSON body. The options are the following:

Link copied to clipboard

The patterns to look for in the JSON body. AWS WAF inspects the results of these pattern matches against the rule inspection criteria.

Link copied to clipboard

The parts of the JSON to match against using the MatchPattern . If you specify ALL , AWS WAF matches against keys and values. All does not require a match to be found in the keys and a match to be found in the values. It requires a match to be found in the keys or the values or both. To require a match in the keys and in the values, use a logical AND statement to combine two match rules, one that inspects the keys and another that inspects the values.

Link copied to clipboard

What AWS WAF should do if the body is larger than AWS WAF can inspect. AWS WAF does not support inspecting the entire contents of the web request body if the body exceeds the limit for the resource type. When a web request body is larger than the limit, the underlying host service only forwards the contents that are within the limit to AWS WAF for inspection.

Functions

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