Skip to content

RuleActionOverride

Source code in docs_src/capo_wafv2/types/rule_action_override.py
class RuleActionOverride(TypedDict, closed=True):
    name: "capo_wafv2.types.entity_name.EntityName"
    """<p>The name of the rule to override.</p> <note> <p>Verify the rule names in your overrides carefully. With managed rule groups, WAF silently ignores any override that uses an invalid rule name. With customer-owned rule groups, invalid rule names in your overrides will cause web ACL updates to fail. An invalid rule name is any name that doesn't exactly match the case-sensitive name of an existing rule in the rule group.</p> </note>"""
    action_to_use: "capo_wafv2.types.rule_action.RuleAction"
    """<p>The override action to use, in place of the configured action of the rule in the rule group. </p>"""

action_to_use instance-attribute

action_to_use: RuleAction

The override action to use, in place of the configured action of the rule in the rule group.

name instance-attribute

name: EntityName

The name of the rule to override.

Verify the rule names in your overrides carefully. With managed rule groups, WAF silently ignores any override that uses an invalid rule name. With customer-owned rule groups, invalid rule names in your overrides will cause web ACL updates to fail. An invalid rule name is any name that doesn't exactly match the case-sensitive name of an existing rule in the rule group.