Class: AWSCDK::IoTEvents::CfnDetectorModel::ClearTimerProperty

Inherits:
Jsii::Struct
  • Object
show all
Defined in:
io_t_events/cfn_detector_model.rb

Overview

Information needed to clear the timer.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(timer_name:) ⇒ ClearTimerProperty

Returns a new instance of ClearTimerProperty.

Parameters:

  • timer_name (String)

    The name of the timer to clear.



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_nameString (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_propertiesObject



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_jsiiObject



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