Skip to content

AttemptTaskContainerDetails

Source code in docs_src/capo_batch/types/attempt_task_container_details.py
class AttemptTaskContainerDetails(TypedDict, closed=True):
    exit_code: NotRequired["capo_batch.types.integer.Integer"]
    """<p>The exit code for the container’s attempt. A non-zero exit code is considered failed.</p>"""
    name: NotRequired["capo_batch.types.string.String"]
    """<p>The name of a container.</p>"""
    reason: NotRequired["capo_batch.types.string.String"]
    """<p>A short (255 max characters) string that's easy to understand and provides additional details for a running or stopped container.</p>"""
    log_stream_name: NotRequired["capo_batch.types.string.String"]
    """<p>The name of the Amazon CloudWatch Logs log stream that's associated with the container. The log group for Batch jobs is <code>/aws/batch/job</code>. Each container attempt receives a log stream name when they reach the <code>RUNNING</code> status.</p>"""
    network_interfaces: NotRequired[
        "capo_batch.types.network_interface_list.NetworkInterfaceList"
    ]
    """<p>The network interfaces that are associated with the job attempt.</p>"""

exit_code instance-attribute

exit_code: NotRequired[Integer]

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

log_stream_name instance-attribute

log_stream_name: NotRequired[String]

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.

name instance-attribute

name: NotRequired[String]

The name of a container.

network_interfaces instance-attribute

network_interfaces: NotRequired[NetworkInterfaceList]

The network interfaces that are associated with the job attempt.

reason instance-attribute

reason: NotRequired[String]

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