RuleGroupRuleStatementSizeConstraintStatementFieldToMatchHeader constructor
const
RuleGroupRuleStatementSizeConstraintStatementFieldToMatchHeader({
- required Input<
RuleGroupRuleStatementSizeConstraintStatementFieldToMatchHeaderMatchPattern> matchPattern, - required Input<
String> matchScope, - required Input<
String> oversizeHandling,
Creates a new RuleGroupRuleStatementSizeConstraintStatementFieldToMatchHeader.
matchPattern The filter to use to identify the subset of headers to inspect in a web request. The matchPattern block supports only one of the following arguments:
matchScope The parts of the headers to inspect with the rule inspection criteria. If you specify All, AWS WAF inspects both keys and values. Valid values include the following: ALL, Key, Value.
oversizeHandling Oversize handling tells AWS WAF what to do with a web request when the request component that the rule inspects is over the limits. Valid values include the following: CONTINUE, MATCH, NO_MATCH. See the AWS documentation for more information.
Implementation
const RuleGroupRuleStatementSizeConstraintStatementFieldToMatchHeader({
required this.matchPattern,
required this.matchScope,
required this.oversizeHandling,
});