Class: Aws::Batch::Types::EksContainerOverride
- Inherits:
-
Struct
- Object
- Struct
- Aws::Batch::Types::EksContainerOverride
- Defined in:
- gems/aws-sdk-batch/lib/aws-sdk-batch/types.rb
Overview
Object representing any Kubernetes overrides to a job definition that's used in a SubmitJob API operation.
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#args ⇒ Array<String>
The arguments to the entrypoint to send to the container that overrides the default arguments from the Docker image or the job definition.
-
#command ⇒ Array<String>
The command to send to the container that overrides the default command from the Docker image or the job definition.
-
#env ⇒ Array<Types::EksContainerEnvironmentVariable>
The environment variables to send to the container.
-
#image ⇒ String
The override of the Docker image that's used to start the container.
-
#name ⇒ String
A pointer to the container that you want to override.
-
#resources ⇒ Types::EksContainerResourceRequirements
The type and amount of resources to assign to a container.
Instance Attribute Details
#args ⇒ Array<String>
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 Dockerfile reference: CMD and Define a command an arguments for a pod in the Kubernetes documentation.
3748 3749 3750 3751 3752 3753 3754 3755 3756 3757 |
# File 'gems/aws-sdk-batch/lib/aws-sdk-batch/types.rb', line 3748 class EksContainerOverride < Struct.new( :name, :image, :command, :args, :env, :resources) SENSITIVE = [] include Aws::Structure end |
#command ⇒ Array<String>
The command to send to the container that overrides the default command from the Docker image or the job definition.
3748 3749 3750 3751 3752 3753 3754 3755 3756 3757 |
# File 'gems/aws-sdk-batch/lib/aws-sdk-batch/types.rb', line 3748 class EksContainerOverride < Struct.new( :name, :image, :command, :args, :env, :resources) SENSITIVE = [] include Aws::Structure end |
#env ⇒ Array<Types::EksContainerEnvironmentVariable>
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.
AWS_BATCH
". This naming
convention is reserved for variables that Batch sets.
3748 3749 3750 3751 3752 3753 3754 3755 3756 3757 |
# File 'gems/aws-sdk-batch/lib/aws-sdk-batch/types.rb', line 3748 class EksContainerOverride < Struct.new( :name, :image, :command, :args, :env, :resources) SENSITIVE = [] include Aws::Structure end |
#image ⇒ String
The override of the Docker image that's used to start the container.
3748 3749 3750 3751 3752 3753 3754 3755 3756 3757 |
# File 'gems/aws-sdk-batch/lib/aws-sdk-batch/types.rb', line 3748 class EksContainerOverride < Struct.new( :name, :image, :command, :args, :env, :resources) SENSITIVE = [] include Aws::Structure end |
#name ⇒ String
A pointer to the container that you want to override. The name must match a unique container name that you wish to override.
3748 3749 3750 3751 3752 3753 3754 3755 3756 3757 |
# File 'gems/aws-sdk-batch/lib/aws-sdk-batch/types.rb', line 3748 class EksContainerOverride < Struct.new( :name, :image, :command, :args, :env, :resources) SENSITIVE = [] include Aws::Structure end |
#resources ⇒ Types::EksContainerResourceRequirements
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.
3748 3749 3750 3751 3752 3753 3754 3755 3756 3757 |
# File 'gems/aws-sdk-batch/lib/aws-sdk-batch/types.rb', line 3748 class EksContainerOverride < Struct.new( :name, :image, :command, :args, :env, :resources) SENSITIVE = [] include Aws::Structure end |