You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -487,12 +487,12 @@ Currently, the only parameter supported under `run_params` is `network_configura
487
487
*`assign_public_ip`: supported values for this field are either "ENABLED" or "DISABLED". This field is *only* used for tasks launched with Fargate launch type. If this field is present in tasks with network configuration launched with EC2 launch type, the request will fail.
488
488
*`task_placement` is an optional field with `EC2` launch-type only (it is *not* valid for `FARGATE`). It has two subfields:
489
489
*`strategy`: A list of objects, with two keys. Valid keys are `type` and `field`.
490
-
*`type`: Valid values are `random`, `binpack`, or `spread`. If `random` is specified, the `field` key is not necessary.
490
+
*`type`: Valid values are `random`, `binpack`, or `spread`. If `random` is specified, the `field` key should not be provided.
491
491
*`field`: Valid values depend on the strategy type.
492
492
* For `spread`, valid values are `instanceId`, `host`, or attribute key/value pairs, e.g. `attribute:ecs.instance-type =~ t2.*`
493
493
* For "binpack", valid values are "cpu" or "memory".
494
494
*`constraint`: A list of objects, with two keys. Valid keys are `type` and `expression`.
495
-
*`type`: Valid values are `distinctInstance` and `memberOf`. If `distinctInstance` is specified, the `expression key is not necessary.
495
+
*`type`: Valid values are `distinctInstance` and `memberOf`. If `distinctInstance` is specified, the `expression` key should not be provided.
496
496
*`expression`: When `type` is `memberOf`, valid values are key/value pairs for attributes or task groups, e.g. `task:group == databases` or `attribute:color =~ green`.
497
497
498
498
For more information on task placement, see [Amazon ECS TaskPlacement] (https://docs.aws.amazon.com/AmazonECS/latest/developerguide/task-placement.html).
0 commit comments