GetTaskExecutionPlacementConstraint class

Constructors

GetTaskExecutionPlacementConstraint({Input<String?>? expression, required Input<String> type})
Creates a new GetTaskExecutionPlacementConstraint. expression Cluster query language expression to apply to the constraint. The expression can have a maximum length of 2000 characters. You can't specify an expression if the constraint type is distinctInstance. type Type of constraint. Valid values are distinctInstance or memberOf. Use distinctInstance to ensure that each task in a particular group is running on a different container instance. Use memberOf to restrict the selection to a group of valid candidates.
const
GetTaskExecutionPlacementConstraint.fromMap(Map<String, dynamic> map)
factory

Properties

expression → Input<String?>?
Cluster query language expression to apply to the constraint. The expression can have a maximum length of 2000 characters. You can't specify an expression if the constraint type is distinctInstance.
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 → Input<String>
Type of constraint. Valid values are distinctInstance or memberOf. Use distinctInstance to ensure that each task in a particular group is running on a different container instance. Use memberOf to restrict the selection to a group of valid candidates.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toMap() → Map<String, dynamic>
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited