Class: Aws::Batch::Types::TaskContainerOverrides
- Inherits:
-
Struct
- Object
- Struct
- Aws::Batch::Types::TaskContainerOverrides
- Defined in:
- gems/aws-sdk-batch/lib/aws-sdk-batch/types.rb
Overview
The overrides that should be sent to a container.
For information about using Batch overrides when you connect event sources to targets, see BatchContainerOverrides.
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#command ⇒ Array<String>
The command to send to the container that overrides the default command from the Docker image or the job definition.
-
#environment ⇒ Array<Types::KeyValuePair>
The environment variables to send to the container.
-
#name ⇒ String
A pointer to the container that you want to override.
-
#resource_requirements ⇒ Array<Types::ResourceRequirement>
The type and amount of resources to assign to a container.
Instance Attribute Details
#command ⇒ Array<String>
The command to send to the container that overrides the default command from the Docker image or the job definition.
9323 9324 9325 9326 9327 9328 9329 9330 |
# File 'gems/aws-sdk-batch/lib/aws-sdk-batch/types.rb', line 9323 class TaskContainerOverrides < Struct.new( :command, :environment, :name, :resource_requirements) SENSITIVE = [] include Aws::Structure end |
#environment ⇒ Array<Types::KeyValuePair>
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.
9323 9324 9325 9326 9327 9328 9329 9330 |
# File 'gems/aws-sdk-batch/lib/aws-sdk-batch/types.rb', line 9323 class TaskContainerOverrides < Struct.new( :command, :environment, :name, :resource_requirements) SENSITIVE = [] include Aws::Structure end |
#name ⇒ String
A pointer to the container that you want to override. The container's name provides a unique identifier for the container being used.
9323 9324 9325 9326 9327 9328 9329 9330 |
# File 'gems/aws-sdk-batch/lib/aws-sdk-batch/types.rb', line 9323 class TaskContainerOverrides < Struct.new( :command, :environment, :name, :resource_requirements) SENSITIVE = [] include Aws::Structure end |
#resource_requirements ⇒ Array<Types::ResourceRequirement>
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
.
9323 9324 9325 9326 9327 9328 9329 9330 |
# File 'gems/aws-sdk-batch/lib/aws-sdk-batch/types.rb', line 9323 class TaskContainerOverrides < Struct.new( :command, :environment, :name, :resource_requirements) SENSITIVE = [] include Aws::Structure end |