ScheduleTargetEcsParametersPlacementConstraintArgs

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

Constructors

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. You cannot specify an expression if the constraint type is distinctInstance. For more information, see Cluster query language in the Amazon ECS Developer Guide.

Link copied to clipboard
val type: Output<String>

The type of constraint. One of: distinctInstance, memberOf.

Functions

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