EcsTaskDetails - Amazon Batch
Services or capabilities described in Amazon Web Services documentation might vary by Region. To see the differences applicable to the China Regions, see Getting Started with Amazon Web Services in China (PDF).

EcsTaskDetails

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

Contents

containerInstanceArn

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

Type: String

Required: No

containers

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

Type: Array of TaskContainerDetails objects

Required: No

ephemeralStorage

The amount of ephemeral storage allocated for the task.

Type: EphemeralStorage object

Required: No

executionRoleArn

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

Type: String

Required: No

ipcMode

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

Type: String

Required: No

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.

Type: NetworkConfiguration object

Required: No

pidMode

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

Type: String

Required: No

platformVersion

The Fargate platform version where the jobs are running.

Type: String

Required: No

runtimePlatform

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

Type: RuntimePlatform object

Required: No

taskArn

The ARN of the Amazon ECS task.

Type: String

Required: No

taskRoleArn

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

Note

This is object is comparable to ContainerProperties:jobRoleArn.

Type: String

Required: No

volumes

A list of data volumes used in a job.

Type: Array of Volume objects

Required: No

See Also

For more information about using this API in one of the language-specific Amazon SDKs, see the following: