Sha256: b25ada1bd1a52f85b4b8901f9179587391f07c7368d5e262061ca34eae84b32d
Contents?: true
Size: 942 Bytes
Versions: 26
Compression:
Stored size: 942 Bytes
Contents
module CfnGuardian module Resource class ElasticFileSystem < Base def default_alarms alarm = CfnGuardian::Models::ElasticFileSystemAlarm.new(@resource) alarm.name = 'PercentIOLimitHigh' alarm.metric_name = 'PercentIOLimit' alarm.comparison_operator = 'GreaterThanThreshold' alarm.threshold = 90 alarm.evaluation_periods = 5 alarm.statistic = 'Minimum' @alarms.push(alarm) alarm = CfnGuardian::Models::ElasticFileSystemAlarm.new(@resource) alarm.name = 'BurstCreditBalanceLow' alarm.metric_name = 'BurstCreditBalance' alarm.comparison_operator = 'LessThanThreshold' alarm.statistic = 'Minimum' alarm.threshold = 1000000000000 alarm.evaluation_periods = 5 alarm.treat_missing_data = 'notBreaching' alarm.datapoints_to_alarm = 5 @alarms.push(alarm) end end end end
Version data entries
26 entries across 26 versions & 1 rubygems