Class: AWSCDK::IoTEvents::CfnDetectorModel::OnExitProperty

Inherits:
Jsii::Struct
  • Object
show all
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

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(events: nil) ⇒ OnExitProperty

Returns a new instance of OnExitProperty.

Parameters:



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

#eventsAWSCDK::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_propertiesObject



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_jsiiObject



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