Class: CfnGuardian::Models::JenkinsAlarm
- Defined in:
- lib/cfnguardian/models/alarm.rb
Instance Attribute Summary
Attributes inherited from BaseAlarm
#actions_enabled, #additional_notifiers, #alarm_action, #comparison_operator, #datapoints_to_alarm, #dimensions, #enabled, #evaluate_low_sample_count_percentile, #evaluation_periods, #extended_statistic, #group, #maintenance_groups, #metric_name, #name, #namespace, #period, #resource_hash, #resource_id, #resource_name, #statistic, #tags, #threshold, #treat_missing_data, #type, #unit
Instance Method Summary collapse
-
#initialize(resource) ⇒ JenkinsAlarm
constructor
A new instance of JenkinsAlarm.
Constructor Details
#initialize(resource) ⇒ JenkinsAlarm
Returns a new instance of JenkinsAlarm.
586 587 588 589 590 591 592 593 594 595 |
# File 'lib/cfnguardian/models/alarm.rb', line 586 def initialize(resource) super(resource) @group = 'Jenkins' @namespace = 'Ciinabox/Jenkins' @dimensions = { Jenkins: resource['Id'], Label: resource['Label'], Monitoring: 'JenkMon' } end |