Class: Aws::Pipes::Types::BatchContainerOverrides
- Inherits:
-
Struct
- Object
- Struct
- Aws::Pipes::Types::BatchContainerOverrides
- Defined in:
- gems/aws-sdk-pipes/lib/aws-sdk-pipes/types.rb
Overview
The overrides that are sent to a container.
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 task definition.
-
#environment ⇒ Array<Types::BatchEnvironmentVariable>
The environment variables to send to the container.
-
#instance_type ⇒ String
The instance type to use for a multi-node parallel job.
-
#resource_requirements ⇒ Array<Types::BatchResourceRequirement>
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 task definition.
98 99 100 101 102 103 104 105 |
# File 'gems/aws-sdk-pipes/lib/aws-sdk-pipes/types.rb', line 98 class BatchContainerOverrides < Struct.new( :command, :environment, :instance_type, :resource_requirements) SENSITIVE = [] include Aws::Structure end |
#environment ⇒ Array<Types::BatchEnvironmentVariable>
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.
Batch
". This naming
convention is reserved for variables that Batch sets.
98 99 100 101 102 103 104 105 |
# File 'gems/aws-sdk-pipes/lib/aws-sdk-pipes/types.rb', line 98 class BatchContainerOverrides < Struct.new( :command, :environment, :instance_type, :resource_requirements) SENSITIVE = [] include Aws::Structure end |
#instance_type ⇒ String
The instance type to use for a multi-node parallel job.
98 99 100 101 102 103 104 105 |
# File 'gems/aws-sdk-pipes/lib/aws-sdk-pipes/types.rb', line 98 class BatchContainerOverrides < Struct.new( :command, :environment, :instance_type, :resource_requirements) SENSITIVE = [] include Aws::Structure end |
#resource_requirements ⇒ Array<Types::BatchResourceRequirement>
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
.
98 99 100 101 102 103 104 105 |
# File 'gems/aws-sdk-pipes/lib/aws-sdk-pipes/types.rb', line 98 class BatchContainerOverrides < Struct.new( :command, :environment, :instance_type, :resource_requirements) SENSITIVE = [] include Aws::Structure end |