Class: Aws::Pipes::Types::EcsTaskOverride

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

Overview

The overrides that are associated with a task.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#container_overridesArray<Types::EcsContainerOverride>

One or more container overrides that are sent to a task.

Returns:



1108
1109
1110
1111
1112
1113
1114
1115
1116
1117
1118
# File 'gems/aws-sdk-pipes/lib/aws-sdk-pipes/types.rb', line 1108

class EcsTaskOverride < Struct.new(
  :container_overrides,
  :cpu,
  :ephemeral_storage,
  :execution_role_arn,
  :inference_accelerator_overrides,
  :memory,
  :task_role_arn)
  SENSITIVE = []
  include Aws::Structure
end

#cpuString

The cpu override for the task.

Returns:

  • (String)


1108
1109
1110
1111
1112
1113
1114
1115
1116
1117
1118
# File 'gems/aws-sdk-pipes/lib/aws-sdk-pipes/types.rb', line 1108

class EcsTaskOverride < Struct.new(
  :container_overrides,
  :cpu,
  :ephemeral_storage,
  :execution_role_arn,
  :inference_accelerator_overrides,
  :memory,
  :task_role_arn)
  SENSITIVE = []
  include Aws::Structure
end

#ephemeral_storageTypes::EcsEphemeralStorage

The ephemeral storage setting override for the task.

This parameter is only supported for tasks hosted on Fargate that use the following platform versions:

  • Linux platform version 1.4.0 or later.

  • Windows platform version 1.0.0 or later.



1108
1109
1110
1111
1112
1113
1114
1115
1116
1117
1118
# File 'gems/aws-sdk-pipes/lib/aws-sdk-pipes/types.rb', line 1108

class EcsTaskOverride < Struct.new(
  :container_overrides,
  :cpu,
  :ephemeral_storage,
  :execution_role_arn,
  :inference_accelerator_overrides,
  :memory,
  :task_role_arn)
  SENSITIVE = []
  include Aws::Structure
end

#execution_role_arnString

The Amazon Resource Name (ARN) of the task execution IAM role override for the task. For more information, see Amazon ECS task execution IAM role in the Amazon Elastic Container Service Developer Guide.

Returns:

  • (String)


1108
1109
1110
1111
1112
1113
1114
1115
1116
1117
1118
# File 'gems/aws-sdk-pipes/lib/aws-sdk-pipes/types.rb', line 1108

class EcsTaskOverride < Struct.new(
  :container_overrides,
  :cpu,
  :ephemeral_storage,
  :execution_role_arn,
  :inference_accelerator_overrides,
  :memory,
  :task_role_arn)
  SENSITIVE = []
  include Aws::Structure
end

#inference_accelerator_overridesArray<Types::EcsInferenceAcceleratorOverride>

The Elastic Inference accelerator override for the task.



1108
1109
1110
1111
1112
1113
1114
1115
1116
1117
1118
# File 'gems/aws-sdk-pipes/lib/aws-sdk-pipes/types.rb', line 1108

class EcsTaskOverride < Struct.new(
  :container_overrides,
  :cpu,
  :ephemeral_storage,
  :execution_role_arn,
  :inference_accelerator_overrides,
  :memory,
  :task_role_arn)
  SENSITIVE = []
  include Aws::Structure
end

#memoryString

The memory override for the task.

Returns:

  • (String)


1108
1109
1110
1111
1112
1113
1114
1115
1116
1117
1118
# File 'gems/aws-sdk-pipes/lib/aws-sdk-pipes/types.rb', line 1108

class EcsTaskOverride < Struct.new(
  :container_overrides,
  :cpu,
  :ephemeral_storage,
  :execution_role_arn,
  :inference_accelerator_overrides,
  :memory,
  :task_role_arn)
  SENSITIVE = []
  include Aws::Structure
end

#task_role_arnString

The Amazon Resource Name (ARN) of the IAM role that containers in this task can assume. All containers in this task are granted the permissions that are specified in this role. For more information, see IAM Role for Tasks in the Amazon Elastic Container Service Developer Guide.

Returns:

  • (String)


1108
1109
1110
1111
1112
1113
1114
1115
1116
1117
1118
# File 'gems/aws-sdk-pipes/lib/aws-sdk-pipes/types.rb', line 1108

class EcsTaskOverride < Struct.new(
  :container_overrides,
  :cpu,
  :ephemeral_storage,
  :execution_role_arn,
  :inference_accelerator_overrides,
  :memory,
  :task_role_arn)
  SENSITIVE = []
  include Aws::Structure
end