From 0d00ca2bfd1c23ff9498a1404c131abb0625b3cf Mon Sep 17 00:00:00 2001 From: Sumu Date: Thu, 14 Dec 2023 16:58:11 -0500 Subject: [PATCH] remove commented out default setting code Signed-off-by: Sumu --- packages/aws-cdk-lib/aws-ecs/lib/base/base-service.ts | 7 ------- 1 file changed, 7 deletions(-) diff --git a/packages/aws-cdk-lib/aws-ecs/lib/base/base-service.ts b/packages/aws-cdk-lib/aws-ecs/lib/base/base-service.ts index 0ebb613092111..c100d993bf798 100644 --- a/packages/aws-cdk-lib/aws-ecs/lib/base/base-service.ts +++ b/packages/aws-cdk-lib/aws-ecs/lib/base/base-service.ts @@ -709,13 +709,6 @@ export abstract class BaseService extends Resource rollback: props.deploymentAlarms.behavior !== AlarmBehavior.FAIL_ON_ALARM, }; // CloudWatch alarms is only supported for Amazon ECS services that use the rolling update (ECS) deployment controller. - } else if ((!props.deploymentController || - props.deploymentController?.type === DeploymentControllerType.ECS) && this.deploymentAlarmsAvailableInRegion()) { - // this.deploymentAlarms = { - // alarmNames: [], - // enable: false, - // rollback: false, - // }; } this.node.defaultChild = this.resource;