interface Http5xxAlarmProps {
    actionsEnabled?: boolean;
    alarmDescription?: string;
    alarmName?: string;
    comparisonOperator?: ComparisonOperator;
    datapointsToAlarm?: number;
    evaluateLowSampleCountPercentile?: string;
    numberOfMinutesAboveThresholdBeforeAlarm?: number;
    okAction?: boolean;
    tolerated5xxPercentage: number;
}

Hierarchy

  • Omit<GuAlarmProps, "snsTopicName" | "evaluationPeriods" | "metric" | "period" | "threshold" | "treatMissingData" | "app">
    • Http5xxAlarmProps

Properties

actionsEnabled?: boolean

Whether the actions for this alarm are enabled

Default

true
alarmDescription?: string

Description for the alarm

Default

No description
alarmName?: string

Name of the alarm

Default

Automatically generated name
comparisonOperator?: ComparisonOperator

Comparison to use to check if metric is breaching

Default

GreaterThanOrEqualToThreshold
datapointsToAlarm?: number

The number of datapoints that must be breaching to trigger the alarm. This is used only if you are setting an "M out of N" alarm. In that case, this value is the M. For more information, see Evaluating an Alarm in the Amazon CloudWatch User Guide.

evaluateLowSampleCountPercentile?: string

Specifies whether to evaluate the data and potentially change the alarm state if there are too few data points to be statistically significant.

Used only for alarms that are based on percentiles.

Default

- Not configured.
numberOfMinutesAboveThresholdBeforeAlarm?: number
okAction?: boolean
tolerated5xxPercentage: number