using System.Collections.Generic;
namespace Amazon.Lambda.CloudWatchEvents.BatchEvents
{
///
/// An object representing the details of a container that is part of a job attempt.
/// https://docs.aws.amazon.com/batch/latest/APIReference/API_AttemptContainerDetail.html
///
public class AttemptContainerDetail
{
///
/// The Amazon Resource Name (ARN) of the Amazon ECS container instance that hosts the job attempt.
///
public string ContainerInstanceArn { get; set; }
///
/// The exit code for the job attempt. A non-zero exit code is considered a failure.
///
public int ExitCode { get; set; }
///
/// The name of the CloudWatch Logs log stream 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.
///
public string LogStreamName { get; set; }
///
/// Details about the network interfaces in this job attempt.
///
public List NetworkInterfaces { get; set; }
///
/// A short (255 max characters) human-readable string to provide additional
/// details about a running or stopped container.
///
public string Reason { get; set; }
///
/// The Amazon Resource Name (ARN) of the Amazon ECS task that is associated with the job attempt.
/// Each container attempt receives a task ARN when they reach the STARTING status.
///
public string TaskArn { get; set; }
}
}