RuleGroupRuleStatementRateBasedStatementScopeDownStatementByteMatchStatementFieldToMatchJsonBody constructor
const
RuleGroupRuleStatementRateBasedStatementScopeDownStatementByteMatchStatementFieldToMatchJsonBody({
- Input<
String?> ? invalidFallbackBehavior, - required Input<
RuleGroupRuleStatementRateBasedStatementScopeDownStatementByteMatchStatementFieldToMatchJsonBodyMatchPattern> matchPattern, - required Input<
String> matchScope, - Input<
String?> ? oversizeHandling,
Creates a new RuleGroupRuleStatementRateBasedStatementScopeDownStatementByteMatchStatementFieldToMatchJsonBody.
invalidFallbackBehavior What to do when JSON parsing fails. Defaults to evaluating up to the first parsing failure. Valid values are EVALUATE_AS_STRING, MATCH and NO_MATCH.
matchPattern The patterns to look for in the JSON body. You must specify exactly one setting: either all or includedPaths. See JsonMatchPattern for details.
matchScope The parts of the JSON to match against using the matchPattern. Valid values are ALL, KEY and VALUE.
oversizeHandling What to do if the body is larger than can be inspected. Valid values are CONTINUE (default), MATCH and NO_MATCH.
Implementation
const RuleGroupRuleStatementRateBasedStatementScopeDownStatementByteMatchStatementFieldToMatchJsonBody({
this.invalidFallbackBehavior,
required this.matchPattern,
required this.matchScope,
this.oversizeHandling,
});