Class: AWSCDK::IoTEvents::CfnAlarmModel::AlarmEventActionsProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::IoTEvents::CfnAlarmModel::AlarmEventActionsProperty
- Defined in:
- io_t_events/cfn_alarm_model.rb
Overview
Contains information about one or more alarm actions.
Instance Attribute Summary collapse
-
#alarm_actions ⇒ AWSCDK::IResolvable, ...
readonly
Specifies one or more supported actions to receive notifications when the alarm state changes.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(alarm_actions: nil) ⇒ AlarmEventActionsProperty
constructor
A new instance of AlarmEventActionsProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(alarm_actions: nil) ⇒ AlarmEventActionsProperty
Returns a new instance of AlarmEventActionsProperty.
885 886 887 888 |
# File 'io_t_events/cfn_alarm_model.rb', line 885 def initialize(alarm_actions: nil) @alarm_actions = alarm_actions Jsii::Type.check_type(@alarm_actions, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImNvbGxlY3Rpb24iOnsiZWxlbWVudHR5cGUiOnsidW5pb24iOnsidHlwZXMiOlt7ImZxbiI6ImF3cy1jZGstbGliLklSZXNvbHZhYmxlIn0seyJmcW4iOiJhd3MtY2RrLWxpYi5hd3NfaW90ZXZlbnRzLkNmbkFsYXJtTW9kZWwuQWxhcm1BY3Rpb25Qcm9wZXJ0eSJ9XX19LCJraW5kIjoiYXJyYXkifX1dfX0=")), "alarmActions") unless @alarm_actions.nil? end |
Instance Attribute Details
#alarm_actions ⇒ AWSCDK::IResolvable, ... (readonly)
Specifies one or more supported actions to receive notifications when the alarm state changes.
894 895 896 |
# File 'io_t_events/cfn_alarm_model.rb', line 894 def alarm_actions @alarm_actions end |
Class Method Details
.jsii_properties ⇒ Object
896 897 898 899 900 |
# File 'io_t_events/cfn_alarm_model.rb', line 896 def self.jsii_properties { :alarm_actions => "alarmActions", } end |
Instance Method Details
#to_jsii ⇒ Object
902 903 904 905 906 907 908 |
# File 'io_t_events/cfn_alarm_model.rb', line 902 def to_jsii result = {} result.merge!({ "alarmActions" => @alarm_actions, }) result.compact end |