Class: CfnGuardian::Models::LogGroupAlarm
- 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) ⇒ LogGroupAlarm
constructor
A new instance of LogGroupAlarm.
Constructor Details
#initialize(resource) ⇒ LogGroupAlarm
Returns a new instance of LogGroupAlarm.
529 530 531 532 533 534 535 536 537 538 |
# File 'lib/cfnguardian/models/alarm.rb', line 529 def initialize(resource) super(resource) @group = 'LogGroup' @namespace = "MetricFilters" @statistic = 'Sum' @threshold = 1 @period = 300 @alarm_action = 'Informational' @treat_missing_data = 'notBreaching' end |