DeploymentCircuitBreaker class

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 enable 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.

Constructors

DeploymentCircuitBreaker({required bool enable, required bool rollback})
DeploymentCircuitBreaker.fromJson(Map<String, dynamic> json)
factory

Properties

enable bool
Whether to enable the deployment circuit breaker logic for the service.
final
hashCode int
The hash code for this object.
no setterinherited
rollback bool
Whether to enable Amazon ECS to roll back the service if a service deployment fails. If rollback is enabled, when a service deployment fails, the service is rolled back to the last deployment that completed successfully.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited