View a markdown version of this page

AWS::CloudWatch::Alert Evaluation - AWS CloudFormation

This is the new CloudFormation Template Reference Guide. Please update your bookmarks and links. For help getting started with CloudFormation, see the AWS 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 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