Class: AWSCDK::IoTEvents::CfnDetectorModel::OnEnterProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::IoTEvents::CfnDetectorModel::OnEnterProperty
- Defined in:
- io_t_events/cfn_detector_model.rb
Overview
When entering this state, perform these actions if the condition is TRUE.
Instance Attribute Summary collapse
-
#events ⇒ AWSCDK::IResolvable, ...
readonly
Specifies the actions that are performed when the state is entered and the
conditionisTRUE.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(events: nil) ⇒ OnEnterProperty
constructor
A new instance of OnEnterProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(events: nil) ⇒ OnEnterProperty
Returns a new instance of OnEnterProperty.
1630 1631 1632 1633 |
# File 'io_t_events/cfn_detector_model.rb', line 1630 def initialize(events: nil) @events = events Jsii::Type.check_type(@events, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImNvbGxlY3Rpb24iOnsiZWxlbWVudHR5cGUiOnsidW5pb24iOnsidHlwZXMiOlt7ImZxbiI6ImF3cy1jZGstbGliLklSZXNvbHZhYmxlIn0seyJmcW4iOiJhd3MtY2RrLWxpYi5hd3NfaW90ZXZlbnRzLkNmbkRldGVjdG9yTW9kZWwuRXZlbnRQcm9wZXJ0eSJ9XX19LCJraW5kIjoiYXJyYXkifX1dfX0=")), "events") unless @events.nil? end |
Instance Attribute Details
#events ⇒ AWSCDK::IResolvable, ... (readonly)
Specifies the actions that are performed when the state is entered and the condition is TRUE .
1639 1640 1641 |
# File 'io_t_events/cfn_detector_model.rb', line 1639 def events @events end |
Class Method Details
.jsii_properties ⇒ Object
1641 1642 1643 1644 1645 |
# File 'io_t_events/cfn_detector_model.rb', line 1641 def self.jsii_properties { :events => "events", } end |
Instance Method Details
#to_jsii ⇒ Object
1647 1648 1649 1650 1651 1652 1653 |
# File 'io_t_events/cfn_detector_model.rb', line 1647 def to_jsii result = {} result.merge!({ "events" => @events, }) result.compact end |