Copyright | (c) 2013-2023 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
Synopsis
- data BatchContainerOverrides = BatchContainerOverrides' {}
- newBatchContainerOverrides :: BatchContainerOverrides
- batchContainerOverrides_command :: Lens' BatchContainerOverrides (Maybe [Text])
- batchContainerOverrides_environment :: Lens' BatchContainerOverrides (Maybe [BatchEnvironmentVariable])
- batchContainerOverrides_instanceType :: Lens' BatchContainerOverrides (Maybe Text)
- batchContainerOverrides_resourceRequirements :: Lens' BatchContainerOverrides (Maybe [BatchResourceRequirement])
Documentation
data BatchContainerOverrides Source #
The overrides that are sent to a container.
See: newBatchContainerOverrides
smart constructor.
BatchContainerOverrides' | |
|
Instances
newBatchContainerOverrides :: BatchContainerOverrides Source #
Create a value of BatchContainerOverrides
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:command:BatchContainerOverrides'
, batchContainerOverrides_command
- The command to send to the container that overrides the default command
from the Docker image or the task definition.
$sel:environment:BatchContainerOverrides'
, batchContainerOverrides_environment
- 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.
Environment variables cannot start with "Batch
". This naming
convention is reserved for variables that Batch sets.
$sel:instanceType:BatchContainerOverrides'
, batchContainerOverrides_instanceType
- The instance type to use for a multi-node parallel job.
This parameter isn't applicable to single-node container jobs or jobs that run on Fargate resources, and shouldn't be provided.
$sel:resourceRequirements:BatchContainerOverrides'
, batchContainerOverrides_resourceRequirements
- The type and amount of resources to assign to a container. This
overrides the settings in the job definition. The supported resources
include GPU
, MEMORY
, and VCPU
.
batchContainerOverrides_command :: Lens' BatchContainerOverrides (Maybe [Text]) Source #
The command to send to the container that overrides the default command from the Docker image or the task definition.
batchContainerOverrides_environment :: Lens' BatchContainerOverrides (Maybe [BatchEnvironmentVariable]) Source #
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.
Environment variables cannot start with "Batch
". This naming
convention is reserved for variables that Batch sets.
batchContainerOverrides_instanceType :: Lens' BatchContainerOverrides (Maybe Text) Source #
The instance type to use for a multi-node parallel job.
This parameter isn't applicable to single-node container jobs or jobs that run on Fargate resources, and shouldn't be provided.
batchContainerOverrides_resourceRequirements :: Lens' BatchContainerOverrides (Maybe [BatchResourceRequirement]) Source #
The type and amount of resources to assign to a container. This
overrides the settings in the job definition. The supported resources
include GPU
, MEMORY
, and VCPU
.