Fugue.AWS.ECS.PlacementStrategy

Module Members

spread

(Function)

Place tasks evenly based on the provided attribute.

Type Signature

 fun (String) -> PlacementStrategy
Argument: attribute
Type: String
Returns:
Type: PlacementStrategy

binpackCpu

(Value)

binpackCpu:
  BinpackCpu

Place tasks on the host with the least CPU available.

binpackMemory

(Value)

binpackMemory:
  BinpackMemory

Place tasks on the host with the least memory available.

random

(Value)

random:
  Random

Place tasks randomly.

spreadOnHost

(Value)

spreadOnHost:
  Spread(HostSpreadField)

Place tasks evenly across cluster hosts.

spreadOnInstanceId

(Value)

spreadOnInstanceId:
  Spread(InstanceId)

Place tasks evenly across cluster instances.