Class: Aws::Batch::Types::EcsTaskDetails

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-batch/lib/aws-sdk-batch/types.rb

Overview

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

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#container_instance_arnString

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

Returns:

  • (String)


3883
3884
3885
3886
3887
3888
3889
3890
3891
3892
3893
3894
3895
3896
3897
3898
3899
# File 'gems/aws-sdk-batch/lib/aws-sdk-batch/types.rb', line 3883

class EcsTaskDetails < Struct.new(
  :containers,
  :container_instance_arn,
  :task_arn,
  :ephemeral_storage,
  :execution_role_arn,
  :platform_version,
  :ipc_mode,
  :task_role_arn,
  :pid_mode,
  :network_configuration,
  :runtime_platform,
  :volumes,
  :enable_execute_command)
  SENSITIVE = []
  include Aws::Structure
end

#containersArray<Types::TaskContainerDetails>

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

Returns:



3883
3884
3885
3886
3887
3888
3889
3890
3891
3892
3893
3894
3895
3896
3897
3898
3899
# File 'gems/aws-sdk-batch/lib/aws-sdk-batch/types.rb', line 3883

class EcsTaskDetails < Struct.new(
  :containers,
  :container_instance_arn,
  :task_arn,
  :ephemeral_storage,
  :execution_role_arn,
  :platform_version,
  :ipc_mode,
  :task_role_arn,
  :pid_mode,
  :network_configuration,
  :runtime_platform,
  :volumes,
  :enable_execute_command)
  SENSITIVE = []
  include Aws::Structure
end

#enable_execute_commandBoolean

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.

Returns:

  • (Boolean)


3883
3884
3885
3886
3887
3888
3889
3890
3891
3892
3893
3894
3895
3896
3897
3898
3899
# File 'gems/aws-sdk-batch/lib/aws-sdk-batch/types.rb', line 3883

class EcsTaskDetails < Struct.new(
  :containers,
  :container_instance_arn,
  :task_arn,
  :ephemeral_storage,
  :execution_role_arn,
  :platform_version,
  :ipc_mode,
  :task_role_arn,
  :pid_mode,
  :network_configuration,
  :runtime_platform,
  :volumes,
  :enable_execute_command)
  SENSITIVE = []
  include Aws::Structure
end

#ephemeral_storageTypes::EphemeralStorage

The amount of ephemeral storage allocated for the task.



3883
3884
3885
3886
3887
3888
3889
3890
3891
3892
3893
3894
3895
3896
3897
3898
3899
# File 'gems/aws-sdk-batch/lib/aws-sdk-batch/types.rb', line 3883

class EcsTaskDetails < Struct.new(
  :containers,
  :container_instance_arn,
  :task_arn,
  :ephemeral_storage,
  :execution_role_arn,
  :platform_version,
  :ipc_mode,
  :task_role_arn,
  :pid_mode,
  :network_configuration,
  :runtime_platform,
  :volumes,
  :enable_execute_command)
  SENSITIVE = []
  include Aws::Structure
end

#execution_role_arnString

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.

Returns:

  • (String)


3883
3884
3885
3886
3887
3888
3889
3890
3891
3892
3893
3894
3895
3896
3897
3898
3899
# File 'gems/aws-sdk-batch/lib/aws-sdk-batch/types.rb', line 3883

class EcsTaskDetails < Struct.new(
  :containers,
  :container_instance_arn,
  :task_arn,
  :ephemeral_storage,
  :execution_role_arn,
  :platform_version,
  :ipc_mode,
  :task_role_arn,
  :pid_mode,
  :network_configuration,
  :runtime_platform,
  :volumes,
  :enable_execute_command)
  SENSITIVE = []
  include Aws::Structure
end

#ipc_modeString

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.

Returns:

  • (String)


3883
3884
3885
3886
3887
3888
3889
3890
3891
3892
3893
3894
3895
3896
3897
3898
3899
# File 'gems/aws-sdk-batch/lib/aws-sdk-batch/types.rb', line 3883

class EcsTaskDetails < Struct.new(
  :containers,
  :container_instance_arn,
  :task_arn,
  :ephemeral_storage,
  :execution_role_arn,
  :platform_version,
  :ipc_mode,
  :task_role_arn,
  :pid_mode,
  :network_configuration,
  :runtime_platform,
  :volumes,
  :enable_execute_command)
  SENSITIVE = []
  include Aws::Structure
end

#network_configurationTypes::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.



3883
3884
3885
3886
3887
3888
3889
3890
3891
3892
3893
3894
3895
3896
3897
3898
3899
# File 'gems/aws-sdk-batch/lib/aws-sdk-batch/types.rb', line 3883

class EcsTaskDetails < Struct.new(
  :containers,
  :container_instance_arn,
  :task_arn,
  :ephemeral_storage,
  :execution_role_arn,
  :platform_version,
  :ipc_mode,
  :task_role_arn,
  :pid_mode,
  :network_configuration,
  :runtime_platform,
  :volumes,
  :enable_execute_command)
  SENSITIVE = []
  include Aws::Structure
end

#pid_modeString

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.

Returns:

  • (String)


3883
3884
3885
3886
3887
3888
3889
3890
3891
3892
3893
3894
3895
3896
3897
3898
3899
# File 'gems/aws-sdk-batch/lib/aws-sdk-batch/types.rb', line 3883

class EcsTaskDetails < Struct.new(
  :containers,
  :container_instance_arn,
  :task_arn,
  :ephemeral_storage,
  :execution_role_arn,
  :platform_version,
  :ipc_mode,
  :task_role_arn,
  :pid_mode,
  :network_configuration,
  :runtime_platform,
  :volumes,
  :enable_execute_command)
  SENSITIVE = []
  include Aws::Structure
end

#platform_versionString

The Fargate platform version where the jobs are running.

Returns:

  • (String)


3883
3884
3885
3886
3887
3888
3889
3890
3891
3892
3893
3894
3895
3896
3897
3898
3899
# File 'gems/aws-sdk-batch/lib/aws-sdk-batch/types.rb', line 3883

class EcsTaskDetails < Struct.new(
  :containers,
  :container_instance_arn,
  :task_arn,
  :ephemeral_storage,
  :execution_role_arn,
  :platform_version,
  :ipc_mode,
  :task_role_arn,
  :pid_mode,
  :network_configuration,
  :runtime_platform,
  :volumes,
  :enable_execute_command)
  SENSITIVE = []
  include Aws::Structure
end

#runtime_platformTypes::RuntimePlatform

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



3883
3884
3885
3886
3887
3888
3889
3890
3891
3892
3893
3894
3895
3896
3897
3898
3899
# File 'gems/aws-sdk-batch/lib/aws-sdk-batch/types.rb', line 3883

class EcsTaskDetails < Struct.new(
  :containers,
  :container_instance_arn,
  :task_arn,
  :ephemeral_storage,
  :execution_role_arn,
  :platform_version,
  :ipc_mode,
  :task_role_arn,
  :pid_mode,
  :network_configuration,
  :runtime_platform,
  :volumes,
  :enable_execute_command)
  SENSITIVE = []
  include Aws::Structure
end

#task_arnString

The ARN of the Amazon ECS task.

Returns:

  • (String)


3883
3884
3885
3886
3887
3888
3889
3890
3891
3892
3893
3894
3895
3896
3897
3898
3899
# File 'gems/aws-sdk-batch/lib/aws-sdk-batch/types.rb', line 3883

class EcsTaskDetails < Struct.new(
  :containers,
  :container_instance_arn,
  :task_arn,
  :ephemeral_storage,
  :execution_role_arn,
  :platform_version,
  :ipc_mode,
  :task_role_arn,
  :pid_mode,
  :network_configuration,
  :runtime_platform,
  :volumes,
  :enable_execute_command)
  SENSITIVE = []
  include Aws::Structure
end

#task_role_arnString

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.

Returns:

  • (String)


3883
3884
3885
3886
3887
3888
3889
3890
3891
3892
3893
3894
3895
3896
3897
3898
3899
# File 'gems/aws-sdk-batch/lib/aws-sdk-batch/types.rb', line 3883

class EcsTaskDetails < Struct.new(
  :containers,
  :container_instance_arn,
  :task_arn,
  :ephemeral_storage,
  :execution_role_arn,
  :platform_version,
  :ipc_mode,
  :task_role_arn,
  :pid_mode,
  :network_configuration,
  :runtime_platform,
  :volumes,
  :enable_execute_command)
  SENSITIVE = []
  include Aws::Structure
end

#volumesArray<Types::Volume>

A list of data volumes used in a job.

Returns:



3883
3884
3885
3886
3887
3888
3889
3890
3891
3892
3893
3894
3895
3896
3897
3898
3899
# File 'gems/aws-sdk-batch/lib/aws-sdk-batch/types.rb', line 3883

class EcsTaskDetails < Struct.new(
  :containers,
  :container_instance_arn,
  :task_arn,
  :ephemeral_storage,
  :execution_role_arn,
  :platform_version,
  :ipc_mode,
  :task_role_arn,
  :pid_mode,
  :network_configuration,
  :runtime_platform,
  :volumes,
  :enable_execute_command)
  SENSITIVE = []
  include Aws::Structure
end