Skip to content

Commit

Permalink
remove commented out default setting code
Browse files Browse the repository at this point in the history
Signed-off-by: Sumu <sumughan@amazon.com>
  • Loading branch information
sumupitchayan committed Dec 14, 2023
1 parent 20973c0 commit 0d00ca2
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions packages/aws-cdk-lib/aws-ecs/lib/base/base-service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 0d00ca2

Please sign in to comment.