Struct aws_sdk_ecs::model::TaskOverride [−][src]
#[non_exhaustive]pub struct TaskOverride {
pub container_overrides: Option<Vec<ContainerOverride>>,
pub cpu: Option<String>,
pub inference_accelerator_overrides: Option<Vec<InferenceAcceleratorOverride>>,
pub execution_role_arn: Option<String>,
pub memory: Option<String>,
pub task_role_arn: Option<String>,
pub ephemeral_storage: Option<EphemeralStorage>,
}
Expand description
The overrides associated with a task.
Fields (Non-exhaustive)
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.container_overrides: Option<Vec<ContainerOverride>>
One or more container overrides sent to a task.
cpu: Option<String>
The cpu override for the task.
inference_accelerator_overrides: Option<Vec<InferenceAcceleratorOverride>>
The Elastic Inference accelerator override for the task.
execution_role_arn: Option<String>
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.
memory: Option<String>
The memory override for the task.
task_role_arn: Option<String>
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.
ephemeral_storage: Option<EphemeralStorage>
The ephemeral storage setting override for the task.
This parameter is only supported for tasks hosted on Fargate using the following platform versions:
-
Linux platform version
1.4.0
or later. -
Windows platform version
1.0.0
or later.
Implementations
One or more container overrides sent to a task.
The Elastic Inference accelerator override for the task.
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.
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.
The ephemeral storage setting override for the task.
This parameter is only supported for tasks hosted on Fargate using the following platform versions:
-
Linux platform version
1.4.0
or later. -
Windows platform version
1.0.0
or later.
Creates a new builder-style object to manufacture TaskOverride
Trait Implementations
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for TaskOverride
impl Send for TaskOverride
impl Sync for TaskOverride
impl Unpin for TaskOverride
impl UnwindSafe for TaskOverride
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more