Class: Aws::Pipes::Types::BatchContainerOverrides
- Inherits:
-
Struct
- Object
- Struct
- Aws::Pipes::Types::BatchContainerOverrides
- Includes:
- Structure
- Defined in:
- 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 '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.
<note markdown=“1”> Environment variables cannot start with “‘Batch`”. This naming convention is reserved for variables that Batch sets.
</note>
98 99 100 101 102 103 104 105 |
# File '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.
<note markdown=“1”> This parameter isn’t applicable to single-node container jobs or jobs that run on Fargate resources, and shouldn’t be provided.
</note>
98 99 100 101 102 103 104 105 |
# File '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 'lib/aws-sdk-pipes/types.rb', line 98 class BatchContainerOverrides < Struct.new( :command, :environment, :instance_type, :resource_requirements) SENSITIVE = [] include Aws::Structure end |