TaskDefinitionPlacementConstraint
¶
Source code in docs_src/capo_ecs/types/task_definition_placement_constraint.py
expression
instance-attribute
¶
expression: NotRequired[String]
A cluster query language expression to apply to the constraint. For more information, see Cluster query language in the Amazon Elastic Container Service Developer Guide.
type
instance-attribute
¶
type: NotRequired[TaskDefinitionPlacementConstraintType]
The type of constraint. The MemberOf constraint restricts selection to be from a group of valid candidates.