MDAA TS Docs
    Preparing search index...

    Evaluation timing shared by both notification targets of GuardrailAlarmsProps.

    interface GuardrailAlarmsCommonProps {
        datapointsToAlarm?: number;
        evaluationPeriods?: number;
        periodSeconds?: number;
    }

    Hierarchy (View Summary)

    Index

    Properties

    datapointsToAlarm?: number

    Number of breaching periods within evaluationPeriods required to alarm (an "M of N" alarm).

    Use cases: reducing false positives on low-traffic guardrails

    AWS: CloudWatch alarm datapointsToAlarm

    Validation: Optional; Number; between 1 and evaluationPeriods

    evaluationPeriods
    

    integer

    1

    evaluationPeriods?: number

    Number of periods over which interventions are compared to the threshold.

    Use cases: requiring sustained breaches before alarming

    AWS: CloudWatch alarm evaluation periods

    Validation: Optional; Number; periodSeconds x evaluationPeriods <= 10800

    1
    

    integer

    1

    periodSeconds?: number

    Alarm period in seconds. Each period's interventions are compared to the threshold. Must be a multiple of 60, and periodSeconds x evaluationPeriods must not exceed 10800 (3 hours): CloudWatch evaluates Metrics Insights alarms over the most recent 3 hours only.

    Use cases: tuning alarm sensitivity vs. noise

    AWS: CloudWatch alarm period

    Validation: Optional; Number; multiple of 60; periodSeconds x evaluationPeriods <= 10800

    300
    

    integer

    60

    60