TaskDefinitionPlacementConstraint class
Constructors
-
TaskDefinitionPlacementConstraint({Input<
String?> ? expression, required Input<String> type}) -
Creates a new TaskDefinitionPlacementConstraint.
expressionCluster Query Language expression to apply to the constraint. For more information, see Cluster Query Language in the Amazon EC2 Container Service Developer Guide.typeType of constraint. UsememberOfto restrict selection to a group of valid candidates. Note thatdistinctInstanceis not supported in task definitions.const -
TaskDefinitionPlacementConstraint.fromMap(Map<
String, dynamic> map) -
factory
Properties
-
expression
→ Input<
String?> ? -
Cluster Query Language expression to apply to the constraint. For more information, see Cluster Query Language in the Amazon EC2 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
→ Input<
String> -
Type of constraint. Use
memberOfto restrict selection to a group of valid candidates. Note thatdistinctInstanceis not supported in task definitions.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