Skip to content

Commit

Permalink
feat(ecs): support for explicit activation of the circuit breaker (#2…
Browse files Browse the repository at this point in the history
…8611)

This PR has enabled explicit disabling of the circuit breaker. 

```ts
declare const cluster: ecs.Cluster;
declare const taskDefinition: ecs.TaskDefinition;
const service = new ecs.FargateService(this, 'Service', {
  cluster,
  taskDefinition,
  circuitBreaker: {
    enable: true, // added
    rollback: true
  },
});
```

This is useful for removing a circuit breaker that has been set previously.

Closes #27131.

----

*By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
  • Loading branch information
badmintoncryer authored Jan 23, 2024
1 parent d6c3a9a commit bbb9555
Show file tree
Hide file tree
Showing 12 changed files with 1,854 additions and 5 deletions.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit bbb9555

Please sign in to comment.