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 EksContainerOverride = EksContainerOverride' {}
- newEksContainerOverride :: EksContainerOverride
- eksContainerOverride_args :: Lens' EksContainerOverride (Maybe [Text])
- eksContainerOverride_command :: Lens' EksContainerOverride (Maybe [Text])
- eksContainerOverride_env :: Lens' EksContainerOverride (Maybe [EksContainerEnvironmentVariable])
- eksContainerOverride_image :: Lens' EksContainerOverride (Maybe Text)
- eksContainerOverride_resources :: Lens' EksContainerOverride (Maybe EksContainerResourceRequirements)
Documentation
data EksContainerOverride Source #
Object representing any Kubernetes overrides to a job definition that's used in a SubmitJob API operation.
See: newEksContainerOverride
smart constructor.
EksContainerOverride' | |
|
Instances
newEksContainerOverride :: EksContainerOverride Source #
Create a value of EksContainerOverride
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:args:EksContainerOverride'
, eksContainerOverride_args
- The arguments to the entrypoint to send to the container that overrides
the default arguments from the Docker image or the job definition. For
more information, see
CMD in the
Dockerfile reference and
Define a command an arguments for a pod
in the Kubernetes documentation.
$sel:command:EksContainerOverride'
, eksContainerOverride_command
- The command to send to the container that overrides the default command
from the Docker image or the job definition.
$sel:env:EksContainerOverride'
, eksContainerOverride_env
- 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 job definition.
Environment variables cannot start with "AWS_BATCH
". This naming
convention is reserved for variables that Batch sets.
$sel:image:EksContainerOverride'
, eksContainerOverride_image
- The override of the Docker image that's used to start the container.
$sel:resources:EksContainerOverride'
, eksContainerOverride_resources
- The type and amount of resources to assign to a container. These
override the settings in the job definition. The supported resources
include memory
, cpu
, and nvidia.com/gpu
. For more information,
see
Resource management for pods and containers
in the Kubernetes documentation.
eksContainerOverride_args :: Lens' EksContainerOverride (Maybe [Text]) Source #
The arguments to the entrypoint to send to the container that overrides the default arguments from the Docker image or the job definition. For more information, see CMD in the Dockerfile reference and Define a command an arguments for a pod in the Kubernetes documentation.
eksContainerOverride_command :: Lens' EksContainerOverride (Maybe [Text]) Source #
The command to send to the container that overrides the default command from the Docker image or the job definition.
eksContainerOverride_env :: Lens' EksContainerOverride (Maybe [EksContainerEnvironmentVariable]) 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 job definition.
Environment variables cannot start with "AWS_BATCH
". This naming
convention is reserved for variables that Batch sets.
eksContainerOverride_image :: Lens' EksContainerOverride (Maybe Text) Source #
The override of the Docker image that's used to start the container.
eksContainerOverride_resources :: Lens' EksContainerOverride (Maybe EksContainerResourceRequirements) Source #
The type and amount of resources to assign to a container. These
override the settings in the job definition. The supported resources
include memory
, cpu
, and nvidia.com/gpu
. For more information,
see
Resource management for pods and containers
in the Kubernetes documentation.