TaskDefinitionPlacementConstraintArgs

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

Constructors

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

Properties

Link copied to clipboard
val expression: Output<String>? = null

Cluster Query Language expression to apply to the constraint. For more information, see Cluster Query Language in the Amazon EC2 Container Service Developer Guide.

Link copied to clipboard
val type: Output<String>

Type of constraint. Use memberOf to restrict selection to a group of valid candidates. Note that distinctInstance is not supported in task definitions.

Functions

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