/AWS1/CL_ECSTHRESHOLDCONF¶
Defines the failure threshold that the deployment circuit breaker uses to monitor a deployment. The type and value together determine the number of task failures that are tolerated before the circuit breaker triggers.
By default, the threshold configuration uses a type of BOUNDED_PERCENT with a value of 50.
CONSTRUCTOR¶
IMPORTING¶
Required arguments:¶
iv_type TYPE /AWS1/ECSTHRESHOLDTYPE /AWS1/ECSTHRESHOLDTYPE¶
Determines how Amazon ECS uses
valueto calculate the failure threshold. For the percentage types (BOUNDED_PERCENTandUNBOUNDED_PERCENT), Amazon ECS multipliesvalueby the latest service desired count. ForCOUNT, Amazon ECS usesvaluedirectly as the threshold. The default isBOUNDED_PERCENT.
iv_value TYPE /AWS1/ECSINTEGER /AWS1/ECSINTEGER¶
Specifies the integer that Amazon ECS uses to calculate the failure threshold. When
typeisCOUNT, this value is the failure threshold itself. Whentypeis a percentage type, Amazon ECS multiplies this value by the latest service desired count to produce the failure threshold. The default is50.
Queryable Attributes¶
type¶
Determines how Amazon ECS uses
valueto calculate the failure threshold. For the percentage types (BOUNDED_PERCENTandUNBOUNDED_PERCENT), Amazon ECS multipliesvalueby the latest service desired count. ForCOUNT, Amazon ECS usesvaluedirectly as the threshold. The default isBOUNDED_PERCENT.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_TYPE() |
Getter for TYPE, with configurable default |
ASK_TYPE() |
Getter for TYPE w/ exceptions if field has no value |
HAS_TYPE() |
Determine if TYPE has a value |
value¶
Specifies the integer that Amazon ECS uses to calculate the failure threshold. When
typeisCOUNT, this value is the failure threshold itself. Whentypeis a percentage type, Amazon ECS multiplies this value by the latest service desired count to produce the failure threshold. The default is50.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_VALUE() |
Getter for VALUE |