TaskDefinitionPlacementConstraint class
An object representing a constraint on task placement in the task definition. For more information, see Task Placement Constraints in the Amazon Elastic Container Service Developer Guide.
Constructors
- TaskDefinitionPlacementConstraint({String? expression, TaskDefinitionPlacementConstraintType? type})
-
TaskDefinitionPlacementConstraint.fromJson(Map<
String, dynamic> json) -
factory
Properties
- expression → 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.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- type → TaskDefinitionPlacementConstraintType?
-
The type of constraint. The
MemberOf
constraint restricts selection to be from a group of valid candidates.final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited