ServiceOrderedPlacementStrategy constructor

const ServiceOrderedPlacementStrategy({
  1. Input<String?>? field,
  2. required Input<String> type,
})

Creates a new ServiceOrderedPlacementStrategy. field 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. For the binpack type, valid values are memory and cpu. For the random type, this attribute is not needed. For more information, see Placement Strategy. type Type of placement strategy. Must be one of: binpack, random, or spread

Implementation

const ServiceOrderedPlacementStrategy({
  this.field,
  required this.type,
});