Class: AWSCDK::IoTEvents::CfnDetectorModel::ClearTimerProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::IoTEvents::CfnDetectorModel::ClearTimerProperty
- Defined in:
- io_t_events/cfn_detector_model.rb
Overview
Information needed to clear the timer.
Instance Attribute Summary collapse
-
#timer_name ⇒ String
readonly
The name of the timer to clear.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(timer_name:) ⇒ ClearTimerProperty
constructor
A new instance of ClearTimerProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(timer_name:) ⇒ ClearTimerProperty
Returns a new instance of ClearTimerProperty.
981 982 983 984 |
# File 'io_t_events/cfn_detector_model.rb', line 981 def initialize(timer_name:) @timer_name = timer_name Jsii::Type.check_type(@timer_name, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "timerName") end |
Instance Attribute Details
#timer_name ⇒ String (readonly)
The name of the timer to clear.
990 991 992 |
# File 'io_t_events/cfn_detector_model.rb', line 990 def timer_name @timer_name end |
Class Method Details
.jsii_properties ⇒ Object
992 993 994 995 996 |
# File 'io_t_events/cfn_detector_model.rb', line 992 def self.jsii_properties { :timer_name => "timerName", } end |
Instance Method Details
#to_jsii ⇒ Object
998 999 1000 1001 1002 1003 1004 |
# File 'io_t_events/cfn_detector_model.rb', line 998 def to_jsii result = {} result.merge!({ "timerName" => @timer_name, }) result.compact end |