EventTargetEcsTargetPlacementConstraintArgs

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

Constructors

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. Does not need to be specified for the distinctInstance type. 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. The only valid values at this time are memberOf and distinctInstance.

Functions

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