View a markdown version of this page

AWS::CloudWatch::Alert Evaluation - Amazon CloudFormation
Services or capabilities described in Amazon Web Services documentation might vary by Region. To see the differences applicable to the China Regions, see Getting Started with Amazon Web Services in China (PDF).

This is the new Amazon CloudFormation Template Reference Guide. Please update your bookmarks and links. For help getting started with CloudFormation, see the Amazon CloudFormation User Guide.

AWS::CloudWatch::Alert Evaluation

How often the alert is evaluated, and how long a change must last before the state changes.

Syntax

To declare this entity in your Amazon CloudFormation template, use the following syntax:

JSON

{ "IntervalSeconds" : Integer, "PendingDurationSeconds" : Integer, "RecoveryDurationSeconds" : Integer }

Properties

IntervalSeconds

The time between evaluations, in seconds. Valid values: 30, 60, 120, 300, 600, 900, 1800, 3600.

Required: Yes

Type: Integer

Update requires: No interruption

PendingDurationSeconds

How long a threshold breach must last before the alert changes state, in seconds. Must be a multiple of IntervalSeconds. 0 changes state immediately.

Required: No

Type: Integer

Update requires: No interruption

RecoveryDurationSeconds

How long the result must stay within its thresholds before the alert returns to OK, in seconds. Must be a multiple of IntervalSeconds. 0 returns to OK immediately.

Required: No

Type: Integer

Update requires: No interruption