Skip to content

/AWS1/CL_BTCATTEMPTTSKCONTAI00

An object that represents the details of a container that's part of a job attempt.

CONSTRUCTOR

IMPORTING

Optional arguments:

iv_exitcode TYPE /AWS1/BTCINTEGER /AWS1/BTCINTEGER

The exit code for the container’s attempt. A non-zero exit code is considered failed.

iv_name TYPE /AWS1/BTCSTRING /AWS1/BTCSTRING

The name of a container.

iv_reason TYPE /AWS1/BTCSTRING /AWS1/BTCSTRING

A short (255 max characters) string that's easy to understand and provides additional details for a running or stopped container.

iv_logstreamname TYPE /AWS1/BTCSTRING /AWS1/BTCSTRING

The name of the Amazon CloudWatch Logs log stream that's associated with the container. The log group for Batch jobs is /aws/batch/job. Each container attempt receives a log stream name when they reach the RUNNING status.

it_networkinterfaces TYPE /AWS1/CL_BTCNETWORKINTERFACE=>TT_NETWORKINTERFACELIST TT_NETWORKINTERFACELIST

The network interfaces that are associated with the job attempt.


Queryable Attributes

exitCode

The exit code for the container’s attempt. A non-zero exit code is considered failed.

Accessible with the following methods

Method Description
GET_EXITCODE() Getter for EXITCODE, with configurable default
ASK_EXITCODE() Getter for EXITCODE w/ exceptions if field has no value
HAS_EXITCODE() Determine if EXITCODE has a value

name

The name of a container.

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

reason

A short (255 max characters) string that's easy to understand and provides additional details for a running or stopped container.

Accessible with the following methods

Method Description
GET_REASON() Getter for REASON, with configurable default
ASK_REASON() Getter for REASON w/ exceptions if field has no value
HAS_REASON() Determine if REASON has a value

logStreamName

The name of the Amazon CloudWatch Logs log stream that's associated with the container. The log group for Batch jobs is /aws/batch/job. Each container attempt receives a log stream name when they reach the RUNNING status.

Accessible with the following methods

Method Description
GET_LOGSTREAMNAME() Getter for LOGSTREAMNAME, with configurable default
ASK_LOGSTREAMNAME() Getter for LOGSTREAMNAME w/ exceptions if field has no value
HAS_LOGSTREAMNAME() Determine if LOGSTREAMNAME has a value

networkInterfaces

The network interfaces that are associated with the job attempt.

Accessible with the following methods

Method Description
GET_NETWORKINTERFACES() Getter for NETWORKINTERFACES, with configurable default
ASK_NETWORKINTERFACES() Getter for NETWORKINTERFACES w/ exceptions if field has no v
HAS_NETWORKINTERFACES() Determine if NETWORKINTERFACES 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_LSTATTEMPTTASKCONTAINERDETS

TYPES TT_LSTATTEMPTTASKCONTAINERDETS TYPE STANDARD TABLE OF REF TO /AWS1/CL_BTCATTEMPTTSKCONTAI00 WITH DEFAULT KEY
.