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.
Namespace: Amazon.Batch.Model
Assembly: AWSSDK.Batch.dll
Version: 3.x.y.z
public class EcsTaskDetails
The EcsTaskDetails type exposes the following members
Name | Description | |
---|---|---|
EcsTaskDetails() |
Name | Type | Description | |
---|---|---|---|
ContainerInstanceArn | System.String |
Gets and sets the property ContainerInstanceArn. The Amazon Resource Name (ARN) of the container instance that hosts the task. |
|
Containers | System.Collections.Generic.List<Amazon.Batch.Model.TaskContainerDetails> |
Gets and sets the property Containers.
A list of containers that are included in the |
|
EphemeralStorage | Amazon.Batch.Model.EphemeralStorage |
Gets and sets the property EphemeralStorage. The amount of ephemeral storage allocated for the task. |
|
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. |
|
IpcMode | System.String |
Gets and sets the property IpcMode. The IPC resource namespace to use for the containers in the task. |
|
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. |
|
PidMode | System.String |
Gets and sets the property PidMode. The process namespace to use for the containers in the task. |
|
PlatformVersion | System.String |
Gets and sets the property PlatformVersion. The Fargate platform version where the jobs are running. |
|
RuntimePlatform | Amazon.Batch.Model.RuntimePlatform |
Gets and sets the property RuntimePlatform. An object that represents the compute environment architecture for Batch jobs on Fargate. |
|
TaskArn | System.String |
Gets and sets the property TaskArn. The ARN of the Amazon ECS task. |
|
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. |
|
Volumes | System.Collections.Generic.List<Amazon.Batch.Model.Volume> |
Gets and sets the property Volumes. A list of data volumes used in a job. |
.NET Core App:
Supported in: 3.1
.NET Standard:
Supported in: 2.0
.NET Framework:
Supported in: 4.5, 4.0, 3.5