SetTimerAction - AWS IoT Events
AWS services or capabilities described in AWS documentation might vary by Region. To see the differences applicable to the China Regions, see Getting Started with AWS services in China.

SetTimerAction

Information needed to set the timer.

Contents

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.

Type: String

Length Constraints: Minimum length of 1. Maximum length of 1024.

Required: No

seconds

This member has been deprecated.

The number of seconds until the timer expires. The minimum value is 60 seconds to ensure accuracy. The maximum value is 31622400 seconds.

Type: Integer

Valid Range: Minimum value of 1. Maximum value of 31622400.

Required: No

timerName

The name of the timer.

Type: String

Length Constraints: Minimum length of 1. Maximum length of 128.

Required: Yes

See Also

For more information about using this API in one of the language-specific AWS SDKs, see the following: