Skip to content

ECS  >  Dictionaries  >  TaskDefinitionPlacementConstraintDict

TaskDefinitionPlacementConstraintDict

Dictionary Type

TaskDefinitionPlacementConstraintDict

Bases: TypedDict

Dictionary form of TaskDefinitionPlacementConstraint.

Attributes

expression instance-attribute
expression: str | None

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: str | None

The type of constraint. The MemberOf constraint restricts selection to be from a group of valid candidates.