AWS::IoTEvents::DetectorModel SetTimer - 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).

AWS::IoTEvents::DetectorModel SetTimer

Information needed to set the timer.

Syntax

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

JSON

{ "DurationExpression" : String, "Seconds" : Integer, "TimerName" : String }

YAML

DurationExpression: String Seconds: Integer TimerName: 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: 1

Maximum: 1024

Update 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: 60

Maximum: 31622400

Update requires: No interruption

TimerName

The name of the timer.

Required: Yes

Type: String

Minimum: 1

Maximum: 128

Update requires: No interruption