TaskDefinitionPlacementConstraint constructor
const
TaskDefinitionPlacementConstraint({})
Creates a new TaskDefinitionPlacementConstraint.
expression Cluster Query Language expression to apply to the constraint. For more information, see Cluster Query Language in the Amazon EC2 Container Service Developer Guide.
type Type of constraint. Use memberOf to restrict selection to a group of valid candidates. Note that distinctInstance is not supported in task definitions.
Implementation
const TaskDefinitionPlacementConstraint({
this.expression,
required this.type,
});