Class: Aws::IoTEvents::Types::SetTimerAction
- Inherits:
-
Struct
- Object
- Struct
- Aws::IoTEvents::Types::SetTimerAction
- Defined in:
- gems/aws-sdk-iotevents/lib/aws-sdk-iotevents/types.rb
Overview
When making an API call, you may pass SetTimerAction data as a hash:
{
timer_name: "TimerName", # required
seconds: 1,
duration_expression: "VariableValue",
}
Information needed to set the timer.
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#duration_expression ⇒ String
The duration of the timer, in seconds.
-
#seconds ⇒ Integer
The number of seconds until the timer expires.
-
#timer_name ⇒ String
The name of the timer.
Instance Attribute Details
#duration_expression ⇒ String
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.
5381 5382 5383 5384 5385 5386 5387 |
# File 'gems/aws-sdk-iotevents/lib/aws-sdk-iotevents/types.rb', line 5381 class SetTimerAction < Struct.new( :timer_name, :seconds, :duration_expression) SENSITIVE = [] include Aws::Structure end |
#seconds ⇒ Integer
The number of seconds until the timer expires. The minimum value is 60 seconds to ensure accuracy. The maximum value is 31622400 seconds.
5381 5382 5383 5384 5385 5386 5387 |
# File 'gems/aws-sdk-iotevents/lib/aws-sdk-iotevents/types.rb', line 5381 class SetTimerAction < Struct.new( :timer_name, :seconds, :duration_expression) SENSITIVE = [] include Aws::Structure end |
#timer_name ⇒ String
The name of the timer.
5381 5382 5383 5384 5385 5386 5387 |
# File 'gems/aws-sdk-iotevents/lib/aws-sdk-iotevents/types.rb', line 5381 class SetTimerAction < Struct.new( :timer_name, :seconds, :duration_expression) SENSITIVE = [] include Aws::Structure end |