Skip to content

/AWS1/CL_IOSCONTAINERTASKCONF

Configuration for a container task, including the container image, IAM role, and compute settings.

CONSTRUCTOR

IMPORTING

Required arguments:

iv_ecruri TYPE /AWS1/IOSECRURI /AWS1/IOSECRURI

The Amazon ECR image URI for the task container.

iv_taskexecutionrole TYPE /AWS1/IOSIAMROLEARN /AWS1/IOSIAMROLEARN

The ARN of the IAM role that grants the containerized workload permissions to access AWS resources.

iv_processingtype TYPE /AWS1/IOSPROCESSINGTYPE /AWS1/IOSPROCESSINGTYPE

The processing type for compute resources.

iv_processingunit TYPE /AWS1/IOSPROCESSINGUNIT /AWS1/IOSPROCESSINGUNIT

The processing unit allocation that determines the vCPU, memory, and GPU resources.

Optional arguments:

it_command TYPE /AWS1/CL_IOSCOMMANDLIST_W=>TT_COMMANDLIST TT_COMMANDLIST

The command to execute in the container.

iv_timeoutseconds TYPE /AWS1/IOSTIMEOUTSECONDS /AWS1/IOSTIMEOUTSECONDS

The timeout in seconds for task execution. Default: 3600 (1 hour).

it_environmentvariables TYPE /AWS1/CL_IOSENVVARIABLESMAP_W=>TT_ENVIRONMENTVARIABLESMAP TT_ENVIRONMENTVARIABLESMAP

Environment variables passed to the container at runtime.


Queryable Attributes

ecrUri

The Amazon ECR image URI for the task container.

Accessible with the following methods

Method Description
GET_ECRURI() Getter for ECRURI, with configurable default
ASK_ECRURI() Getter for ECRURI w/ exceptions if field has no value
HAS_ECRURI() Determine if ECRURI has a value

taskExecutionRole

The ARN of the IAM role that grants the containerized workload permissions to access AWS resources.

Accessible with the following methods

Method Description
GET_TASKEXECUTIONROLE() Getter for TASKEXECUTIONROLE, with configurable default
ASK_TASKEXECUTIONROLE() Getter for TASKEXECUTIONROLE w/ exceptions if field has no v
HAS_TASKEXECUTIONROLE() Determine if TASKEXECUTIONROLE has a value

processingType

The processing type for compute resources.

Accessible with the following methods

Method Description
GET_PROCESSINGTYPE() Getter for PROCESSINGTYPE, with configurable default
ASK_PROCESSINGTYPE() Getter for PROCESSINGTYPE w/ exceptions if field has no valu
HAS_PROCESSINGTYPE() Determine if PROCESSINGTYPE has a value

processingUnit

The processing unit allocation that determines the vCPU, memory, and GPU resources.

Accessible with the following methods

Method Description
GET_PROCESSINGUNIT() Getter for PROCESSINGUNIT, with configurable default
ASK_PROCESSINGUNIT() Getter for PROCESSINGUNIT w/ exceptions if field has no valu
HAS_PROCESSINGUNIT() Determine if PROCESSINGUNIT has a value

command

The command to execute in the container.

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

timeoutSeconds

The timeout in seconds for task execution. Default: 3600 (1 hour).

Accessible with the following methods

Method Description
GET_TIMEOUTSECONDS() Getter for TIMEOUTSECONDS, with configurable default
ASK_TIMEOUTSECONDS() Getter for TIMEOUTSECONDS w/ exceptions if field has no valu
HAS_TIMEOUTSECONDS() Determine if TIMEOUTSECONDS has a value

environmentVariables

Environment variables passed to the container at runtime.

Accessible with the following methods

Method Description
GET_ENVIRONMENTVARIABLES() Getter for ENVIRONMENTVARIABLES, with configurable default
ASK_ENVIRONMENTVARIABLES() Getter for ENVIRONMENTVARIABLES w/ exceptions if field has n
HAS_ENVIRONMENTVARIABLES() Determine if ENVIRONMENTVARIABLES has a value