You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat(ecs-patterns): Add ECS deployment circuit breaker support to higher-level constructs (#12719)
Fixes#12534Fixes#12360
This change adds the option to set the `circuitBreaker` on the higher-level constructs such as ApplicationLoadBalancedFargateService
----
*By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
automatically rolls back unhealthy service deployments without the need for manual intervention. Use `circuitBreaker` to enable
401
+
deployment circuit breaker and optionally enable `rollback` for automatic rollback. See [Using the deployment circuit breaker](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/deployment-type-ecs.html)
402
+
for more details.
403
+
404
+
```ts
405
+
const service =newApplicationLoadBalancedFargateService(stack, 'Service', {
### Set deployment configuration on QueueProcessingService
399
418
@@ -469,7 +488,7 @@ const scheduledFargateTask = new ScheduledFargateTask(stack, 'ScheduledFargateTa
469
488
470
489
### Use the REMOVE_DEFAULT_DESIRED_COUNT feature flag
471
490
472
-
The REMOVE_DEFAULT_DESIRED_COUNT feature flag is used to override the default desiredCount that is autogenerated by the CDK. This will set the desiredCount of any service created by any of the following constructs to be undefined.
491
+
The REMOVE_DEFAULT_DESIRED_COUNT feature flag is used to override the default desiredCount that is autogenerated by the CDK. This will set the desiredCount of any service created by any of the following constructs to be undefined.
0 commit comments