Skip to content

Condition

Source code in docs_src/capo_wafv2/types/condition.py
class Condition(TypedDict, closed=True):
    action_condition: NotRequired["capo_wafv2.types.action_condition.ActionCondition"]
    """<p>A single action condition. This is the action setting that a log record must contain in order to meet the condition.</p>"""
    label_name_condition: NotRequired[
        "capo_wafv2.types.label_name_condition.LabelNameCondition"
    ]
    """<p>A single label name condition. This is the fully qualified label name that a log record must contain in order to meet the condition. Fully qualified labels have a prefix, optional namespaces, and label name. The prefix identifies the rule group or web ACL context of the rule that added the label. </p>"""

action_condition instance-attribute

action_condition: NotRequired[ActionCondition]

A single action condition. This is the action setting that a log record must contain in order to meet the condition.

label_name_condition instance-attribute

label_name_condition: NotRequired[LabelNameCondition]

A single label name condition. This is the fully qualified label name that a log record must contain in order to meet the condition. Fully qualified labels have a prefix, optional namespaces, and label name. The prefix identifies the rule group or web ACL context of the rule that added the label.