class Aws::ECS::Types::TaskOverride
The overrides associated with a task.
@note When making an API call, you may pass TaskOverride
data as a hash: { container_overrides: [ { name: "String", command: ["String"], environment: [ { name: "String", value: "String", }, ], environment_files: [ { value: "String", # required type: "s3", # required, accepts s3 }, ], cpu: 1, memory: 1, memory_reservation: 1, resource_requirements: [ { value: "String", # required type: "GPU", # required, accepts GPU, InferenceAccelerator }, ], }, ], cpu: "String", inference_accelerator_overrides: [ { device_name: "String", device_type: "String", }, ], execution_role_arn: "String", memory: "String", task_role_arn: "String", ephemeral_storage: { size_in_gi_b: 1, # required }, }
@!attribute [rw] container_overrides
One or more container overrides sent to a task. @return [Array<Types::ContainerOverride>]
@!attribute [rw] cpu
The cpu override for the task. @return [String]
@!attribute [rw] inference_accelerator_overrides
The Elastic Inference accelerator override for the task. @return [Array<Types::InferenceAcceleratorOverride>]
@!attribute [rw] execution_role_arn
The Amazon Resource Name (ARN) of the task execution IAM role override for the task. @return [String]
@!attribute [rw] memory
The memory override for the task. @return [String]
@!attribute [rw] task_role_arn
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. @return [String]
@!attribute [rw] ephemeral_storage
The ephemeral storage setting override for the task. <note markdown="1"> This parameter is only supported for tasks hosted on Fargate using platform version `1.4.0` or later. </note> @return [Types::EphemeralStorage]
@see docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/TaskOverride AWS API Documentation
Constants
- SENSITIVE