placementConstraints property
An array of placement constraint objects to use for tasks. This field is not valid if you are using the Fargate launch type for your task.
Implementation
final List<TaskDefinitionPlacementConstraint>? placementConstraints;