Skip to content

SloObjective

Source code in docs_src/capo_cloudwatchomni/types/slo_objective.py
class SloObjective(TypedDict, closed=True):
    target: "float"
    """The target attainment as a percentage, greater than 0 and less than 100, with at most three decimal places. For example, 99.9."""
    warning_budget_consumed_ratio: NotRequired["float"]
    """The share of the error budget consumed at which the SLO enters the WARNING state, greater than 0 and less than 1. There is no default: when absent, the SLO is never WARNING."""
    time_window: "capo_cloudwatchomni.types.slo_time_window.SloTimeWindow"
    """The window the target is measured over. Together with the target it defines the error budget."""

target instance-attribute

target: float

The target attainment as a percentage, greater than 0 and less than 100, with at most three decimal places. For example, 99.9.

time_window instance-attribute

time_window: SloTimeWindow

The window the target is measured over. Together with the target it defines the error budget.

warning_budget_consumed_ratio instance-attribute

warning_budget_consumed_ratio: NotRequired[float]

The share of the error budget consumed at which the SLO enters the WARNING state, greater than 0 and less than 1. There is no default: when absent, the SLO is never WARNING.