Skip to content

Commit

Permalink
updated current connections from task to warning (base2Services#116)
Browse files Browse the repository at this point in the history
Co-authored-by: jay verma <[email protected]>
  • Loading branch information
2 people authored and mitchclarkebase2 committed Mar 1, 2024
1 parent 1d9cdfd commit 55571d8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/cfnguardian/resources/elasticache_replication_group.rb
Original file line number Diff line number Diff line change
Expand Up @@ -23,12 +23,12 @@ def default_alarms
@alarms.push(alarm)

alarm = CfnGuardian::Models::ElastiCacheReplicationGroupAlarm.new(@resource)
alarm.name = 'CurrentConnectionsTask'
alarm.name = 'CurrentConnectionsWarning'
alarm.metric_name = 'CurrConnections'
alarm.comparison_operator = 'GreaterThanThreshold'
alarm.threshold = 50000
alarm.evaluation_periods = 10
alarm.alarm_action = 'Task'
alarm.alarm_action = 'Warning'
@alarms.push(alarm)

alarm = CfnGuardian::Models::ElastiCacheReplicationGroupAlarm.new(@resource)
Expand Down

0 comments on commit 55571d8

Please sign in to comment.