AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.
Information about the circuit breaker used to determine when a service deployment has failed.
The deployment circuit breaker is the rolling update mechanism that determines if the tasks reach a steady state. The deployment circuit breaker has an option that will automatically roll back a failed deployment to the last cpompleted service revision. For more information, see How the Amazon ECS deployment circuit breaker detects failures in the Amazon ECS Developer Guide.
Namespace: Amazon.ECS.Model
Assembly: AWSSDK.ECS.dll
Version: 3.x.y.z
public class ServiceDeploymentCircuitBreaker
The ServiceDeploymentCircuitBreaker type exposes the following members
Name | Description | |
---|---|---|
![]() |
ServiceDeploymentCircuitBreaker() |
Name | Type | Description | |
---|---|---|---|
![]() |
FailureCount | System.Int32 |
Gets and sets the property FailureCount. The number of times the circuit breaker detected a service deploymeny failure. |
![]() |
Status | Amazon.ECS.ServiceDeploymentRollbackMonitorsStatus |
Gets and sets the property Status.
The circuit breaker status. Amazon ECS is not using the circuit breaker for service
deployment failures when the status is |
![]() |
Threshold | System.Int32 |
Gets and sets the property Threshold. The threshhold which determines that the service deployment failed. The deployment circuit breaker calculates the threshold value, and then uses the value to determine when to move the deployment to a FAILED state. The deployment circuit breaker has a minimum threshold of 3 and a maximum threshold of 200. and uses the values in the following formula to determine the deployment failure.
|
.NET:
Supported in: 8.0 and newer, Core 3.1
.NET Standard:
Supported in: 2.0
.NET Framework:
Supported in: 4.5 and newer, 3.5