Skip to content

/AWS1/CL_BTCATTEMPTCONTAINER00

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

CONSTRUCTOR

IMPORTING

Optional arguments:

iv_containerinstancearn TYPE /AWS1/BTCSTRING /AWS1/BTCSTRING

The Amazon Resource Name (ARN) of the Amazon ECS container instance that hosts the job attempt.

iv_taskarn TYPE /AWS1/BTCSTRING /AWS1/BTCSTRING

The Amazon Resource Name (ARN) of the Amazon ECS task that's associated with the job attempt. Each container attempt receives a task ARN when they reach the STARTING status.

iv_exitcode TYPE /AWS1/BTCINTEGER /AWS1/BTCINTEGER

The exit code for the job attempt. A non-zero exit code is considered failed.

iv_reason TYPE /AWS1/BTCSTRING /AWS1/BTCSTRING

A short (255 max characters) human-readable string to provide additional details for a running or stopped container.

iv_logstreamname TYPE /AWS1/BTCSTRING /AWS1/BTCSTRING

The name of the 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

containerInstanceArn

The Amazon Resource Name (ARN) of the Amazon ECS container instance that hosts the job attempt.

Accessible with the following methods

Method Description
GET_CONTAINERINSTANCEARN() Getter for CONTAINERINSTANCEARN, with configurable default
ASK_CONTAINERINSTANCEARN() Getter for CONTAINERINSTANCEARN w/ exceptions if field has n
HAS_CONTAINERINSTANCEARN() Determine if CONTAINERINSTANCEARN has a value

taskArn

The Amazon Resource Name (ARN) of the Amazon ECS task that's associated with the job attempt. Each container attempt receives a task ARN when they reach the STARTING status.

Accessible with the following methods

Method Description
GET_TASKARN() Getter for TASKARN, with configurable default
ASK_TASKARN() Getter for TASKARN w/ exceptions if field has no value
HAS_TASKARN() Determine if TASKARN has a value

exitCode

The exit code for the job 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

reason

A short (255 max characters) human-readable string to provide 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 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