You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.

Class: Aws::IoTEventsData::Types::TimerDefinition

Inherits:
Struct
  • Object
show all
Defined in:
(unknown)

Overview

Note:

When passing TimerDefinition as input to an Aws::Client method, you can use a vanilla Hash:

{
  name: "TimerName", # required
  seconds: 1, # required
}

The new setting of a timer.

Instance Attribute Summary collapse

Instance Attribute Details

#nameString

The name of the timer.

Returns:

  • (String)

    The name of the timer.

#secondsInteger

The new setting of the timer (the number of seconds before the timer elapses).

Returns:

  • (Integer)

    The new setting of the timer (the number of seconds before the timer elapses).