EventTargetEcsTargetOrderedPlacementStrategyArgs

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

Constructors

constructor(field: Output<String>? = null, type: Output<String>)

Properties

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

The field to apply the placement strategy against. For the spread placement strategy, valid values are instanceId (or host, which has the same effect), or any platform or custom attribute that is applied to a container instance, such as attribute:ecs.availability-zone. For the binpack placement strategy, valid values are cpu and memory. For the random placement strategy, this field is not used. For more information, see Amazon ECS task placement strategies.

Link copied to clipboard
val type: Output<String>

Type of placement strategy. The only valid values at this time are binpack, random and spread.

Functions

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