This is the new AWS CloudFormation Template Reference Guide. Please update your bookmarks and links. For help getting started with CloudFormation, see the AWS CloudFormation User Guide.
AWS::IoTEvents::DetectorModel SetTimer
Information needed to set the timer.
Syntax
To declare this entity in your AWS CloudFormation template, use the following syntax:
JSON
{ "DurationExpression" :String, "Seconds" :Integer, "TimerName" :String}
YAML
DurationExpression:StringSeconds:IntegerTimerName:String
Properties
DurationExpression-
The duration of the timer, in seconds. You can use a string expression that includes numbers, variables (
$variable.<variable-name>), and input values ($input.<input-name>.<path-to-datum>) as the duration. The range of the duration is 1-31622400 seconds. To ensure accuracy, the minimum duration is 60 seconds. The evaluated result of the duration is rounded down to the nearest whole number.Required: No
Type: String
Minimum:
1Maximum:
1024Update requires: No interruption
Seconds-
The number of seconds until the timer expires. The minimum value is 60 seconds to ensure accuracy. The maximum value is 31622400 seconds.
Required: No
Type: Integer
Minimum:
60Maximum:
31622400Update requires: No interruption
TimerName-
The name of the timer.
Required: Yes
Type: String
Minimum:
1Maximum:
128Update requires: No interruption