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 representing the details of a container that is part of a job.

Inheritance Hierarchy

System.Object
  Amazon.Batch.Model.ContainerDetail

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

Syntax

C#
public class ContainerDetail

The ContainerDetail type exposes the following members

Constructors

NameDescription
Public Method ContainerDetail()

Properties

NameTypeDescription
Public Property Command System.Collections.Generic.List<System.String>

Gets and sets the property Command.

The command that is passed to the container.

Public Property ContainerInstanceArn System.String

Gets and sets the property ContainerInstanceArn.

The Amazon Resource Name (ARN) of the container instance on which the container is running.

Public Property Environment System.Collections.Generic.List<Amazon.Batch.Model.KeyValuePair>

Gets and sets the property Environment.

The environment variables to pass to a container.

Public Property ExitCode System.Int32

Gets and sets the property ExitCode.

The exit code to return upon completion.

Public Property Image System.String

Gets and sets the property Image.

The image used to start the container.

Public Property JobRoleArn System.String

Gets and sets the property JobRoleArn.

The Amazon Resource Name (ARN) associated with the job upon execution.

Public Property LogStreamName System.String

Gets and sets the property LogStreamName.

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 Property Memory System.Int32

Gets and sets the property Memory.

The number of MiB of memory reserved for the job.

Public Property MountPoints System.Collections.Generic.List<Amazon.Batch.Model.MountPoint>

Gets and sets the property MountPoints.

The mount points for data volumes in your container.

Public Property Privileged System.Boolean

Gets and sets the property Privileged.

When this parameter is true, the container is given elevated privileges on the host container instance (similar to the root user).

Public Property ReadonlyRootFilesystem System.Boolean

Gets and sets the property ReadonlyRootFilesystem.

When this parameter is true, the container is given read-only access to its root file system.

Public Property Reason System.String

Gets and sets the property Reason.

A short (255 max characters) human-readable string to provide additional details about 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 is associated with the container job.

Public Property Ulimits System.Collections.Generic.List<Amazon.Batch.Model.Ulimit>

Gets and sets the property Ulimits.

A list of ulimit values to set in the container.

Public Property User System.String

Gets and sets the property User.

The user name to use inside the container.

Public Property Vcpus System.Int32

Gets and sets the property Vcpus.

The number of VCPUs allocated for the job.

Public Property Volumes System.Collections.Generic.List<Amazon.Batch.Model.Volume>

Gets and sets the property Volumes.

A list of volumes associated with the job.

Version Information

.NET Standard:
Supported in: 1.3

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

Portable Class Library:
Supported in: Windows Store Apps
Supported in: Windows Phone 8.1
Supported in: Xamarin Android
Supported in: Xamarin iOS (Unified)
Supported in: Xamarin.Forms