ThresholdType

sealed class ThresholdType

Determines how the deployment circuit breaker calculates the number of task failures tolerated before it triggers, based on the configured value.

Inheritors

Types

Link copied to clipboard

Amazon ECS calculates the failure threshold by multiplying value by the latest service desired count, then clamping the result to a minimum of 3 and a maximum of 200. This is the default threshold type, with a default value of 50.

Link copied to clipboard
object Companion
Link copied to clipboard

Amazon ECS uses the integer provided in value directly as the failure threshold.

Link copied to clipboard
data class SdkUnknown(val value: String) : ThresholdType
Link copied to clipboard

Amazon ECS calculates the failure threshold by multiplying value by the latest service desired count, without applying the 3-to-200 bounds. Use this when the desired count is large enough that the calculated threshold should be allowed to exceed 200.

Properties

Link copied to clipboard
abstract val value: String