EcsTaskDetails
¶
Source code in docs_src/capo_batch/types/ecs_task_details.py
container_instance_arn
instance-attribute
¶
container_instance_arn: NotRequired[String]
The Amazon Resource Name (ARN) of the container instance that hosts the task.
containers
instance-attribute
¶
containers: NotRequired[ListTaskContainerDetails]
A list of containers that are included in the taskProperties list.
enable_execute_command
instance-attribute
¶
enable_execute_command: NotRequired[Boolean]
Determines whether execute command functionality is turned on for this task. If true, execute command functionality is turned on all the containers in the task.
ephemeral_storage
instance-attribute
¶
ephemeral_storage: NotRequired[EphemeralStorage]
The amount of ephemeral storage allocated for the task.
execution_role_arn
instance-attribute
¶
execution_role_arn: NotRequired[String]
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.
ipc_mode
instance-attribute
¶
ipc_mode: NotRequired[String]
The IPC resource namespace to use for the containers in the task. The valid values are host, task, or none. For more information see ipcMode in EcsTaskProperties.
network_configuration
instance-attribute
¶
network_configuration: NotRequired[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.
network_mode
instance-attribute
¶
network_mode: NotRequired[String]
The network mode configured for the task. This field is populated for jobs running on Amazon ECS Managed Instances (MANAGED_INSTANCES platform capability) and always returns host.
pid_mode
instance-attribute
¶
pid_mode: NotRequired[String]
The process namespace to use for the containers in the task. The valid values are host, or task. For more information see pidMode in EcsTaskProperties.
platform_version
instance-attribute
¶
platform_version: NotRequired[String]
The Fargate platform version where the jobs are running.
runtime_platform
instance-attribute
¶
runtime_platform: NotRequired[RuntimePlatform]
An object that represents the compute environment architecture for Batch jobs on Fargate or Amazon ECS Managed Instances. Contains the operating system family and CPU architecture of the task.
task_role_arn
instance-attribute
¶
task_role_arn: NotRequired[String]
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.