SchedulePlacementStrategy

data class SchedulePlacementStrategy(val field: String? = null, val type: SchedulePlacementStrategyType? = null)

The task placement strategy for a task or service.

Constructors

Link copied to clipboard

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
val field: String? = null

The field to apply the placement strategy against. For the spread placement strategy, valid values are instanceId (or host, which has the same effect), or any platform or custom attribute that is applied to a container instance, such as attribute:ecs.availability-zone. For the binpack placement strategy, valid values are cpu and memory. For the random placement strategy, this field is not used.

Link copied to clipboard