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;