Class: AWSCDK::IoTEvents::CfnAlarmModel::AlarmEventActionsProperty

Inherits:
Jsii::Struct
  • Object
show all
Defined in:
io_t_events/cfn_alarm_model.rb

Overview

Contains information about one or more alarm actions.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(alarm_actions: nil) ⇒ AlarmEventActionsProperty

Returns a new instance of AlarmEventActionsProperty.

Parameters:



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_actionsAWSCDK::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_propertiesObject



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_jsiiObject



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