Skip to content

/AWS1/CL_BTCTSKCONTAINEROVER00

The overrides that should be sent to a container.

For information about using Batch overrides when you connect event sources to targets, see BatchContainerOverrides.

CONSTRUCTOR

IMPORTING

Optional arguments:

it_command TYPE /AWS1/CL_BTCSTRINGLIST_W=>TT_STRINGLIST TT_STRINGLIST

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

This parameter can't contain an empty string.

it_environment TYPE /AWS1/CL_BTCKEYVALUEPAIR=>TT_ENVIRONMENTVARIABLES TT_ENVIRONMENTVARIABLES

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.

Environment variables cannot start with AWS_BATCH. This naming convention is reserved for variables that Batch sets.

iv_name TYPE /AWS1/BTCSTRING /AWS1/BTCSTRING

A pointer to the container that you want to override. The container's name provides a unique identifier for the container being used.

it_resourcerequirements TYPE /AWS1/CL_BTCRESRCREQUIREMENT=>TT_RESOURCEREQUIREMENTS TT_RESOURCEREQUIREMENTS

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.


Queryable Attributes

command

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

This parameter can't contain an empty string.

Accessible with the following methods

Method Description
GET_COMMAND() Getter for COMMAND, with configurable default
ASK_COMMAND() Getter for COMMAND w/ exceptions if field has no value
HAS_COMMAND() Determine if COMMAND has a value

environment

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.

Environment variables cannot start with AWS_BATCH. This naming convention is reserved for variables that Batch sets.

Accessible with the following methods

Method Description
GET_ENVIRONMENT() Getter for ENVIRONMENT, with configurable default
ASK_ENVIRONMENT() Getter for ENVIRONMENT w/ exceptions if field has no value
HAS_ENVIRONMENT() Determine if ENVIRONMENT has a value

name

A pointer to the container that you want to override. The container's name provides a unique identifier for the container being used.

Accessible with the following methods

Method Description
GET_NAME() Getter for NAME, with configurable default
ASK_NAME() Getter for NAME w/ exceptions if field has no value
HAS_NAME() Determine if NAME has a value

resourceRequirements

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.

Accessible with the following methods

Method Description
GET_RESOURCEREQUIREMENTS() Getter for RESOURCEREQUIREMENTS, with configurable default
ASK_RESOURCEREQUIREMENTS() Getter for RESOURCEREQUIREMENTS w/ exceptions if field has n
HAS_RESOURCEREQUIREMENTS() Determine if RESOURCEREQUIREMENTS has a value

Public Local Types In This Class

Internal table types, representing arrays and maps of this class, are defined as local types:

TT_LISTTASKCONTAINEROVERRIDES

TYPES TT_LISTTASKCONTAINEROVERRIDES TYPE STANDARD TABLE OF REF TO /AWS1/CL_BTCTSKCONTAINEROVER00 WITH DEFAULT KEY
.