SetTimerAction - AWS IoT Events

SetTimerAction

Information needed to set the timer.

Contents

timerName

The name of the timer.

Type: String

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

Required: Yes

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

See Also

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