Class: Aws::Pipes::Types::BatchContainerOverrides

Inherits:
Struct
  • Object
show all
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

Instance Attribute Details

#commandArray<String>

The command to send to the container that overrides the default command from the Docker image or the task definition.

Returns:

  • (Array<String>)


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

#environmentArray<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.

Environment variables cannot start with "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_typeString

The instance type to use for a multi-node parallel job.

This parameter isn't applicable to single-node container jobs or jobs that run on Fargate resources, and shouldn't be provided.

Returns:

  • (String)


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_requirementsArray<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