TaskDefinitionPlacementConstraintArgs

data class TaskDefinitionPlacementConstraintArgs(val expression: Output<String>? = null, val type: Output<String>) : ConvertibleToJava<TaskDefinitionPlacementConstraintArgs>

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: Output<String>? = null, type: Output<String>)

Properties

Link copied to clipboard
val expression: Output<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
val type: Output<String>

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

Functions

Link copied to clipboard
open override fun toJava(): TaskDefinitionPlacementConstraintArgs