Sha256: e99b11e7669b96e637d77d51049856ddbe019adfce29da2d7fe59f9012327ad7
Contents?: true
Size: 745 Bytes
Versions: 24
Compression:
Stored size: 745 Bytes
Contents
module CfnGuardian::Resource class SQSQueue < Base def default_alarms alarm = CfnGuardian::Models::SQSQueueAlarm.new(@resource) alarm.name = 'ApproximateAgeOfOldestMessage' alarm.metric_name = 'ApproximateAgeOfOldestMessage' alarm.threshold = 0.5 alarm.evaluation_periods = 5 alarm.treat_missing_data = 'notBreaching' @alarms.push(alarm) alarm = CfnGuardian::Models::SQSQueueAlarm.new(@resource) alarm.name = 'ApproximateNumberOfMessagesVisible' alarm.metric_name = 'ApproximateNumberOfMessagesVisible' alarm.threshold = 0.5 alarm.evaluation_periods = 5 alarm.treat_missing_data = 'notBreaching' @alarms.push(alarm) end end end
Version data entries
24 entries across 24 versions & 1 rubygems