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.

The details of a task definition that describes the container and volume definitions of an Amazon ECS task.

Inheritance Hierarchy

System.Object
  Amazon.Batch.Model.EcsTaskDetails

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

Syntax

C#
public class EcsTaskDetails

The EcsTaskDetails type exposes the following members

Constructors

NameDescription
Public Method EcsTaskDetails()

Properties

NameTypeDescription
Public Property ContainerInstanceArn System.String

Gets and sets the property ContainerInstanceArn.

The Amazon Resource Name (ARN) of the container instance that hosts the task.

Public Property Containers System.Collections.Generic.List<Amazon.Batch.Model.TaskContainerDetails>

Gets and sets the property Containers.

A list of containers that are included in the taskProperties list.

Public Property EphemeralStorage Amazon.Batch.Model.EphemeralStorage

Gets and sets the property EphemeralStorage.

The amount of ephemeral storage allocated for the task.

Public Property ExecutionRoleArn System.String

Gets and sets the property ExecutionRoleArn.

The Amazon Resource Name (ARN) of the execution role that Batch can assume. For more information, see Batch execution IAM role in the Batch User Guide.

Public Property IpcMode System.String

Gets and sets the property IpcMode.

The IPC resource namespace to use for the containers in the task.

Public Property NetworkConfiguration Amazon.Batch.Model.NetworkConfiguration

Gets and sets the property NetworkConfiguration.

The network configuration for jobs that are running on Fargate resources. Jobs that are running on Amazon EC2 resources must not specify this parameter.

Public Property PidMode System.String

Gets and sets the property PidMode.

The process namespace to use for the containers in the task.

Public Property PlatformVersion System.String

Gets and sets the property PlatformVersion.

The Fargate platform version where the jobs are running.

Public Property RuntimePlatform Amazon.Batch.Model.RuntimePlatform

Gets and sets the property RuntimePlatform.

An object that represents the compute environment architecture for Batch jobs on Fargate.

Public Property TaskArn System.String

Gets and sets the property TaskArn.

The ARN of the Amazon ECS task.

Public Property TaskRoleArn System.String

Gets and sets the property TaskRoleArn.

The Amazon Resource Name (ARN) of the IAM role that the container can assume for Amazon Web Services permissions. For more information, see IAM roles for tasks in the Amazon Elastic Container Service Developer Guide.

This is object is comparable to ContainerProperties:jobRoleArn.

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

Gets and sets the property Volumes.

A list of data volumes used in a job.

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