PipeTargetParametersEcsTaskParametersPlacementStrategy

data class PipeTargetParametersEcsTaskParametersPlacementStrategy(val field: String? = null, val type: String? = null)

Constructors

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
val field: 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. Maximum length of 255.

Link copied to clipboard
val type: String? = null

The type of resource to assign to a container. The supported resources include GPU, MEMORY, and VCPU.