DeploymentCircuitBreaker
import type { DeploymentCircuitBreaker } from "https://aws-api.deno.dev/v0.4/services/ecs.ts?docs=full";
Note:
The deployment circuit breaker can only be used for services using the rolling update (ECS
) deployment type.
The deployment circuit breaker determines whether a service deployment will fail if the service can't reach a steady state. If enabled, a service deployment will transition to a failed state and stop launching new tasks. You can also configure Amazon ECS to roll back your service to the last completed deployment after a failure. For more information, see Rolling update in the Amazon Elastic Container Service Developer Guide.
interface DeploymentCircuitBreaker {
enable: boolean;
rollback: boolean;
}