View a markdown version of this page

AlertEvaluation - Amazon CloudWatch Omni

AlertEvaluation

Evaluation cadence. intervalSeconds must be one of {30, 60, 120, 300, 600, 900, 1800, 3600}; pendingDurationSeconds and recoveryDurationSeconds must be multiples of intervalSeconds. A duration of 0 means fire/clear immediately with no delay.

On UpdateAlert a supplied evaluation block is replaced whole, not merged: an omitted pendingDurationSeconds or recoveryDurationSeconds is cleared to unset (no such duration), not preserved and not defaulted to 0. intervalSeconds is required whenever the block is present. All enforced server-side / by the front-door validator.

Contents

intervalSeconds

The interval between evaluations, in seconds.

Type: Integer

Required: Yes

pendingDurationSeconds

The duration a breach must persist before the alert fires, in seconds.

Type: Integer

Required: No

recoveryDurationSeconds

The duration a recovery must persist before the alert clears, in seconds.

Type: Integer

Required: No

See Also

For more information about using this API in one of the language-specific AWS SDKs, see the following: