MDAA TS Docs
    Preparing search index...

    CloudWatch alarm configuration for the REST API.

    interface RestApiAlarmConfig {
        error4xxRate?: AlarmThresholdConfig;
        error5xxRate?: AlarmThresholdConfig;
        latencyP99?: AlarmThresholdConfig;
        snsTopicArn?: string;
    }
    Index

    Properties

    error4xxRate?: AlarmThresholdConfig

    4XX error rate alarm. Threshold is a percentage (0-100).

    { threshold: 20, period: 300, evaluationPeriods: 3 }
    
    error5xxRate?: AlarmThresholdConfig

    5XX error rate alarm. Threshold is a percentage (0-100).

    { threshold: 5, period: 300, evaluationPeriods: 3 }
    

    P99 latency alarm. Threshold is in milliseconds.

    { threshold: 10000, period: 300, evaluationPeriods: 3 }
    
    snsTopicArn?: string

    SNS topic ARN for alarm notifications. If not provided, a new topic is created.