AWS::IoTEvents::DetectorModel SetTimer - AWS CloudFormation
Services or capabilities described in AWS documentation might vary by Region. To see the differences applicable to the AWS European Sovereign Cloud Region, see the AWS European Sovereign Cloud User Guide.

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

Information needed to set the timer.

Syntax

To declare this entity in your 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