TaskDefinitionPlacementConstraint

data class TaskDefinitionPlacementConstraint(val expression: String? = null, val type: String)

The constraint on task placement in the task definition. For more information, see Task placement constraints in the Amazon Elastic Container Service Developer Guide. Task placement constraints aren't supported for tasks run on FARGATElong.

Constructors

Link copied to clipboard
constructor(expression: String? = null, type: String)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
val expression: String? = null

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.

Link copied to clipboard

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