Class: AWSCDK::IoTEvents::CfnDetectorModel::OnInputProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::IoTEvents::CfnDetectorModel::OnInputProperty
- Defined in:
- io_t_events/cfn_detector_model.rb
Overview
Specifies the actions performed when the condition evaluates to TRUE.
Instance Attribute Summary collapse
-
#events ⇒ AWSCDK::IResolvable, ...
readonly
Specifies the actions performed when the
conditionevaluates to TRUE. -
#transition_events ⇒ AWSCDK::IResolvable, ...
readonly
Specifies the actions performed, and the next state entered, when a
conditionevaluates to TRUE.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(events: nil, transition_events: nil) ⇒ OnInputProperty
constructor
A new instance of OnInputProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(events: nil, transition_events: nil) ⇒ OnInputProperty
Returns a new instance of OnInputProperty.
1697 1698 1699 1700 1701 1702 |
# File 'io_t_events/cfn_detector_model.rb', line 1697 def initialize(events: nil, transition_events: nil) @events = events Jsii::Type.check_type(@events, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImNvbGxlY3Rpb24iOnsiZWxlbWVudHR5cGUiOnsidW5pb24iOnsidHlwZXMiOlt7ImZxbiI6ImF3cy1jZGstbGliLklSZXNvbHZhYmxlIn0seyJmcW4iOiJhd3MtY2RrLWxpYi5hd3NfaW90ZXZlbnRzLkNmbkRldGVjdG9yTW9kZWwuRXZlbnRQcm9wZXJ0eSJ9XX19LCJraW5kIjoiYXJyYXkifX1dfX0=")), "events") unless @events.nil? @transition_events = transition_events Jsii::Type.check_type(@transition_events, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImNvbGxlY3Rpb24iOnsiZWxlbWVudHR5cGUiOnsidW5pb24iOnsidHlwZXMiOlt7ImZxbiI6ImF3cy1jZGstbGliLklSZXNvbHZhYmxlIn0seyJmcW4iOiJhd3MtY2RrLWxpYi5hd3NfaW90ZXZlbnRzLkNmbkRldGVjdG9yTW9kZWwuVHJhbnNpdGlvbkV2ZW50UHJvcGVydHkifV19fSwia2luZCI6ImFycmF5In19XX19")), "transitionEvents") unless @transition_events.nil? end |
Instance Attribute Details
#events ⇒ AWSCDK::IResolvable, ... (readonly)
Specifies the actions performed when the condition evaluates to TRUE.
1708 1709 1710 |
# File 'io_t_events/cfn_detector_model.rb', line 1708 def events @events end |
#transition_events ⇒ AWSCDK::IResolvable, ... (readonly)
Specifies the actions performed, and the next state entered, when a condition evaluates to TRUE.
1713 1714 1715 |
# File 'io_t_events/cfn_detector_model.rb', line 1713 def transition_events @transition_events end |
Class Method Details
.jsii_properties ⇒ Object
1715 1716 1717 1718 1719 1720 |
# File 'io_t_events/cfn_detector_model.rb', line 1715 def self.jsii_properties { :events => "events", :transition_events => "transitionEvents", } end |
Instance Method Details
#to_jsii ⇒ Object
1722 1723 1724 1725 1726 1727 1728 1729 |
# File 'io_t_events/cfn_detector_model.rb', line 1722 def to_jsii result = {} result.merge!({ "events" => @events, "transitionEvents" => @transition_events, }) result.compact end |