Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Synopsis
- data TaskOverride = TaskOverride' {}
- newTaskOverride :: TaskOverride
- taskOverride_containerOverrides :: Lens' TaskOverride (Maybe [ContainerOverride])
- taskOverride_executionRoleArn :: Lens' TaskOverride (Maybe Text)
- taskOverride_ephemeralStorage :: Lens' TaskOverride (Maybe EphemeralStorage)
- taskOverride_memory :: Lens' TaskOverride (Maybe Text)
- taskOverride_taskRoleArn :: Lens' TaskOverride (Maybe Text)
- taskOverride_inferenceAcceleratorOverrides :: Lens' TaskOverride (Maybe [InferenceAcceleratorOverride])
- taskOverride_cpu :: Lens' TaskOverride (Maybe Text)
Documentation
data TaskOverride Source #
The overrides associated with a task.
See: newTaskOverride
smart constructor.
TaskOverride' | |
|
Instances
newTaskOverride :: TaskOverride Source #
Create a value of TaskOverride
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:containerOverrides:TaskOverride'
, taskOverride_containerOverrides
- One or more container overrides sent to a task.
$sel:executionRoleArn:TaskOverride'
, taskOverride_executionRoleArn
- 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.
$sel:ephemeralStorage:TaskOverride'
, taskOverride_ephemeralStorage
- The ephemeral storage setting override for the task.
This parameter is only supported for tasks hosted on Fargate using
platform version 1.4.0
or later.
$sel:memory:TaskOverride'
, taskOverride_memory
- The memory override for the task.
$sel:taskRoleArn:TaskOverride'
, taskOverride_taskRoleArn
- 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.
$sel:inferenceAcceleratorOverrides:TaskOverride'
, taskOverride_inferenceAcceleratorOverrides
- The Elastic Inference accelerator override for the task.
$sel:cpu:TaskOverride'
, taskOverride_cpu
- The cpu override for the task.
taskOverride_containerOverrides :: Lens' TaskOverride (Maybe [ContainerOverride]) Source #
One or more container overrides sent to a task.
taskOverride_executionRoleArn :: Lens' TaskOverride (Maybe Text) Source #
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.
taskOverride_ephemeralStorage :: Lens' TaskOverride (Maybe EphemeralStorage) Source #
The ephemeral storage setting override for the task.
This parameter is only supported for tasks hosted on Fargate using
platform version 1.4.0
or later.
taskOverride_memory :: Lens' TaskOverride (Maybe Text) Source #
The memory override for the task.
taskOverride_taskRoleArn :: Lens' TaskOverride (Maybe Text) Source #
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.
taskOverride_inferenceAcceleratorOverrides :: Lens' TaskOverride (Maybe [InferenceAcceleratorOverride]) Source #
The Elastic Inference accelerator override for the task.
taskOverride_cpu :: Lens' TaskOverride (Maybe Text) Source #
The cpu override for the task.