Select your cookie preferences

We use essential cookies and similar tools that are necessary to provide our site and services. We use performance cookies to collect anonymous statistics, so we can understand how customers use our site and make improvements. Essential cookies cannot be deactivated, but you can choose “Customize” or “Decline” to decline performance cookies.

If you agree, AWS and approved third parties will also use cookies to provide useful site features, remember your preferences, and display relevant content, including relevant advertising. To accept or decline all non-essential cookies, choose “Accept” or “Decline.” To make more detailed choices, choose “Customize.”

AttemptTaskContainerDetails - AWS Batch

AttemptTaskContainerDetails

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

Contents

exitCode

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

Type: Integer

Required: No

logStreamName

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

Type: String

Required: No

name

The name of a container.

Type: String

Required: No

networkInterfaces

The network interfaces that are associated with the job attempt.

Type: Array of NetworkInterface objects

Required: No

reason

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

Type: String

Required: No

See Also

For more information about using this API in one of the language-specific AWS SDKs, see the following:

PrivacySite termsCookie preferences
© 2025, Amazon Web Services, Inc. or its affiliates. All rights reserved.