Fugue.AWS.ECS.PlacementConstraint

Module Members

memberOf

(Function)

Require tasks to be deployed to hosts that match the given Cluster Query Language expression. See http://docs.aws.amazon.com/AmazonECS/latest/developerguide/cluster-query-language.html for details on the Cluster Query Language.

Type Signature

 fun (String) -> PlacementConstraint
Argument: expression

The Cluster Query Language expression to match.

Type: String

Returns:

The corresponding PlacementConstraint.

Type: PlacementConstraint

distinctInstance

(Value)

distinctInstance:
  DistinctInstance

Require tasks to be deployed to separate hosts.

oneTaskPerHost

(Value)

oneTaskPerHost:
  [distinctInstance]

Predefined list of constraints that require each task to be deployed on a separate host.