Skip to content

AttemptContainerDetail

Source code in docs_src/capo_batch/types/attempt_container_detail.py
class AttemptContainerDetail(TypedDict, closed=True):
    container_instance_arn: NotRequired["capo_batch.types.string.String"]
    """<p>The Amazon Resource Name (ARN) of the Amazon ECS container instance that hosts the job attempt.</p>"""
    task_arn: NotRequired["capo_batch.types.string.String"]
    """<p>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 <code>STARTING</code> status.</p>"""
    exit_code: NotRequired["capo_batch.types.integer.Integer"]
    """<p>The exit code for the job attempt. A non-zero exit code is considered failed.</p>"""
    reason: NotRequired["capo_batch.types.string.String"]
    """<p>A short (255 max characters) human-readable string to provide additional details for a running or stopped container.</p>"""
    log_stream_name: NotRequired["capo_batch.types.string.String"]
    """<p>The name of the 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>"""

container_instance_arn instance-attribute

container_instance_arn: NotRequired[String]

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

exit_code instance-attribute

exit_code: NotRequired[Integer]

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

log_stream_name instance-attribute

log_stream_name: NotRequired[String]

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.

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) human-readable string to provide additional details for a running or stopped container.

task_arn instance-attribute

task_arn: NotRequired[String]

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.