Class: Aws::IoTEvents::Types::SetTimerAction

Inherits:
Struct
  • Object
show all
Includes:
Structure
Defined in:
lib/aws-sdk-iotevents/types.rb

Overview

Information needed to set the timer.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#duration_expressionString

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.

Returns:

  • (String)


2767
2768
2769
2770
2771
2772
2773
# File 'lib/aws-sdk-iotevents/types.rb', line 2767

class SetTimerAction < Struct.new(
  :timer_name,
  :seconds,
  :duration_expression)
  SENSITIVE = []
  include Aws::Structure
end

#secondsInteger

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

Returns:

  • (Integer)


2767
2768
2769
2770
2771
2772
2773
# File 'lib/aws-sdk-iotevents/types.rb', line 2767

class SetTimerAction < Struct.new(
  :timer_name,
  :seconds,
  :duration_expression)
  SENSITIVE = []
  include Aws::Structure
end

#timer_nameString

The name of the timer.

Returns:

  • (String)


2767
2768
2769
2770
2771
2772
2773
# File 'lib/aws-sdk-iotevents/types.rb', line 2767

class SetTimerAction < Struct.new(
  :timer_name,
  :seconds,
  :duration_expression)
  SENSITIVE = []
  include Aws::Structure
end