Class: AWSCDK::IoTEvents::CfnDetectorModel::OnExitProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::IoTEvents::CfnDetectorModel::OnExitProperty
- Defined in:
- io_t_events/cfn_detector_model.rb
Overview
When exiting this state, perform these actions if the specified condition is TRUE .
Instance Attribute Summary collapse
-
#events ⇒ AWSCDK::IResolvable, ...
readonly
Specifies the
actionsthat are performed when the state is exited and theconditionisTRUE.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(events: nil) ⇒ OnExitProperty
constructor
A new instance of OnExitProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(events: nil) ⇒ OnExitProperty
Returns a new instance of OnExitProperty.
1663 1664 1665 1666 |
# File 'io_t_events/cfn_detector_model.rb', line 1663 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 exited and the condition is TRUE .
1672 1673 1674 |
# File 'io_t_events/cfn_detector_model.rb', line 1672 def events @events end |
Class Method Details
.jsii_properties ⇒ Object
1674 1675 1676 1677 1678 |
# File 'io_t_events/cfn_detector_model.rb', line 1674 def self.jsii_properties { :events => "events", } end |
Instance Method Details
#to_jsii ⇒ Object
1680 1681 1682 1683 1684 1685 1686 |
# File 'io_t_events/cfn_detector_model.rb', line 1680 def to_jsii result = {} result.merge!({ "events" => @events, }) result.compact end |