From dbce9aa4c4d0a10ee93c6b864781c6bba4241bc6 Mon Sep 17 00:00:00 2001 From: Aneesh <98670591+Ansk0@users.noreply.github.com> Date: Fri, 20 Oct 2023 10:32:13 -0400 Subject: [PATCH] Rename elastiCacheClusterType to clusterType Co-authored-by: Eugene Cheung <81188333+echeung-amzn@users.noreply.github.com> --- .../aws-elasticache/ElastiCacheClusterMonitoring.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/monitoring/aws-elasticache/ElastiCacheClusterMonitoring.ts b/lib/monitoring/aws-elasticache/ElastiCacheClusterMonitoring.ts index ac7b5f0b..bb2c67a5 100644 --- a/lib/monitoring/aws-elasticache/ElastiCacheClusterMonitoring.ts +++ b/lib/monitoring/aws-elasticache/ElastiCacheClusterMonitoring.ts @@ -88,7 +88,7 @@ export interface ElastiCacheClusterMonitoringProps export class ElastiCacheClusterMonitoring extends Monitoring { readonly title: string; readonly clusterUrl?: string; - readonly elastiCacheClusterType: ElastiCacheClusterType; + readonly clusterType: ElastiCacheClusterType; readonly connectionsMetric: MetricWithAlarmSupport; readonly cpuUsageMetric: MetricWithAlarmSupport; @@ -243,7 +243,7 @@ export class ElastiCacheClusterMonitoring extends Monitoring { } widgets(): IWidget[] { - if (this.elastiCacheClusterType == ElastiCacheClusterType.REDIS) { + if (this.clusterType === ElastiCacheClusterType.REDIS) { return [ this.createTitleWidget(), new Column(