Skip to content

Condition

Source code in docs_src/capo_resiliencehub/types/condition.py
class Condition(TypedDict, closed=True):
    field: "capo_resiliencehub.types.string255.String255"
    """<p>Indicates the field in the metric.</p>"""
    operator: "capo_resiliencehub.types.condition_operator_type.ConditionOperatorType"
    """<p>Indicates the type of operator or comparison to be used when evaluating a condition against the specified field. </p>"""
    value: NotRequired["capo_resiliencehub.types.string255.String255"]
    """<p>Indicates the value or data against which a condition is evaluated.</p>"""

field instance-attribute

field: String255

Indicates the field in the metric.

operator instance-attribute

Indicates the type of operator or comparison to be used when evaluating a condition against the specified field.

value instance-attribute

value: NotRequired[String255]

Indicates the value or data against which a condition is evaluated.