GetTaskExecutionOverridesContainerOverride

data class GetTaskExecutionOverridesContainerOverride(val commands: List<String>? = null, val cpu: Int? = null, val environments: List<GetTaskExecutionOverridesContainerOverrideEnvironment>? = null, val memory: Int? = null, val memoryReservation: Int? = null, val name: String, val resourceRequirements: List<GetTaskExecutionOverridesContainerOverrideResourceRequirement>? = null)

Constructors

constructor(commands: List<String>? = null, cpu: Int? = null, environments: List<GetTaskExecutionOverridesContainerOverrideEnvironment>? = null, memory: Int? = null, memoryReservation: Int? = null, name: String, resourceRequirements: List<GetTaskExecutionOverridesContainerOverrideResourceRequirement>? = null)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
val commands: List<String>? = null

The command to send to the container that overrides the default command from the Docker image or the task definition.

Link copied to clipboard
val cpu: Int? = null

The number of cpu units reserved for the container, instead of the default value from the task definition.

Link copied to clipboard

The environment variables to send to the container. You can add new environment variables, which are added to the container at launch, or you can override the existing environment variables from the Docker image or the task definition. See below.

Link copied to clipboard
val memory: Int? = null

The hard limit (in MiB) of memory to present to the container, instead of the default value from the task definition. If your container attempts to exceed the memory specified here, the container is killed.

Link copied to clipboard
val memoryReservation: Int? = null

The soft limit (in MiB) of memory to reserve for the container, instead of the default value from the task definition.

Link copied to clipboard

The name of the container that receives the override. This parameter is required if any override is specified.

Link copied to clipboard

The type and amount of a resource to assign to a container, instead of the default value from the task definition. The only supported resource is a GPU. See below.