Skip to content

RuleUpdate

Source code in docs_src/capo_waf_regional/types/rule_update.py
class RuleUpdate(TypedDict, closed=True):
    action: "capo_waf_regional.types.change_action.ChangeAction"
    """<p>Specify <code>INSERT</code> to add a <code>Predicate</code> to a <code>Rule</code>. Use <code>DELETE</code> to remove a <code>Predicate</code> from a <code>Rule</code>.</p>"""
    predicate: "capo_waf_regional.types.predicate.Predicate"
    """<p>The ID of the <code>Predicate</code> (such as an <code>IPSet</code>) that you want to add to a <code>Rule</code>.</p>"""

action instance-attribute

action: ChangeAction

Specify INSERT to add a Predicate to a Rule. Use DELETE to remove a Predicate from a Rule.

predicate instance-attribute

predicate: Predicate

The ID of the Predicate (such as an IPSet) that you want to add to a Rule.