AWS SDK Version 3 for .NET
API Reference

AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.

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

Inheritance Hierarchy

System.Object
  Amazon.Batch.Model.AttemptContainerDetail

Namespace: Amazon.Batch.Model
Assembly: AWSSDK.Batch.dll
Version: 3.x.y.z

Syntax

C#
public class AttemptContainerDetail

The AttemptContainerDetail type exposes the following members

Constructors

NameDescription
Public Method AttemptContainerDetail()

Properties

NameTypeDescription
Public Property ContainerInstanceArn System.String

Gets and sets the property ContainerInstanceArn.

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

Public Property ExitCode System.Int32

Gets and sets the property ExitCode.

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

Public Property LogStreamName System.String

Gets and sets the property 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.

Public Property NetworkInterfaces System.Collections.Generic.List<Amazon.Batch.Model.NetworkInterface>

Gets and sets the property NetworkInterfaces.

The network interfaces that are associated with the job attempt.

Public Property Reason System.String

Gets and sets the property Reason.

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

Public Property TaskArn System.String

Gets and sets the property 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.

Version Information

.NET Core App:
Supported in: 3.1

.NET Standard:
Supported in: 2.0

.NET Framework:
Supported in: 4.5, 4.0, 3.5