EcsContainerOverride
¶
Source code in docs_src/capo_pipes/types/ecs_container_override.py
command
instance-attribute
¶
command: NotRequired[StringList]
The command to send to the container that overrides the default command from the Docker image or the task definition. You must also specify a container name.
cpu
instance-attribute
¶
cpu: NotRequired[int]
The number of cpu units reserved for the container, instead of the default value from the task definition. You must also specify a container name.
environment
instance-attribute
¶
environment: NotRequired[EcsEnvironmentVariableList]
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. You must also specify a container name.
environment_files
instance-attribute
¶
environment_files: NotRequired[EcsEnvironmentFileList]
A list of files containing the environment variables to pass to a container, instead of the value from the container definition.
memory
instance-attribute
¶
memory: NotRequired[int]
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. You must also specify a container name.
memory_reservation
instance-attribute
¶
memory_reservation: NotRequired[int]
The soft limit (in MiB) of memory to reserve for the container, instead of the default value from the task definition. You must also specify a container name.
name
instance-attribute
¶
name: NotRequired[String]
The name of the container that receives the override. This parameter is required if any override is specified.
resource_requirements
instance-attribute
¶
resource_requirements: NotRequired[EcsResourceRequirementsList]
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.