ExperimentRule
¶
Used by
-
AsyncCloudWatchOmniClient Operationsstart_experiment_run -
CloudWatchOmniClient Operationsstart_experiment_run
Source code in docs_src/capo_cloudwatchomni/types/experiment_rule.py
case_criteria
instance-attribute
¶
case_criteria: NotRequired[CaseCriterionList]
The conditions each case must meet to pass, up to 20. May be empty when the rule gates only on run-level metrics.
content_hash
instance-attribute
¶
content_hash: NotRequired[str]
A SHA-256 hash of the rule's caseCriteria and gates, in the form sha256:<64 hex digits>. Output only; ignored on input. Member order and explicit default values do not affect the hash; list order does.
gates
instance-attribute
¶
gates: RunGateList
The run-level checks the run must meet to pass, from 1 to 20.
source
instance-attribute
¶
source: RuleSource
The origin of the rule. Informational only; it does not change how the rule is applied.