Struct aws_sdk_ecs::types::TaskOverride
source · #[non_exhaustive]pub struct TaskOverride { /* private fields */ }Expand description
The overrides that are associated with a task.
Implementations§
source§impl TaskOverride
impl TaskOverride
sourcepub fn container_overrides(&self) -> Option<&[ContainerOverride]>
pub fn container_overrides(&self) -> Option<&[ContainerOverride]>
One or more container overrides that are sent to a task.
sourcepub fn inference_accelerator_overrides(
&self
) -> Option<&[InferenceAcceleratorOverride]>
pub fn inference_accelerator_overrides( &self ) -> Option<&[InferenceAcceleratorOverride]>
The Elastic Inference accelerator override for the task.
sourcepub fn execution_role_arn(&self) -> Option<&str>
pub fn execution_role_arn(&self) -> Option<&str>
The Amazon Resource Name (ARN) of the task execution role override for the task. For more information, see Amazon ECS task execution IAM role in the Amazon Elastic Container Service Developer Guide.
sourcepub fn task_role_arn(&self) -> Option<&str>
pub fn task_role_arn(&self) -> Option<&str>
The Amazon Resource Name (ARN) of the 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.
sourcepub fn ephemeral_storage(&self) -> Option<&EphemeralStorage>
pub fn ephemeral_storage(&self) -> Option<&EphemeralStorage>
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.0or later. -
Windows platform version
1.0.0or later.
source§impl TaskOverride
impl TaskOverride
sourcepub fn builder() -> TaskOverrideBuilder
pub fn builder() -> TaskOverrideBuilder
Creates a new builder-style object to manufacture TaskOverride.
Trait Implementations§
source§impl Clone for TaskOverride
impl Clone for TaskOverride
source§fn clone(&self) -> TaskOverride
fn clone(&self) -> TaskOverride
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for TaskOverride
impl Debug for TaskOverride
source§impl PartialEq<TaskOverride> for TaskOverride
impl PartialEq<TaskOverride> for TaskOverride
source§fn eq(&self, other: &TaskOverride) -> bool
fn eq(&self, other: &TaskOverride) -> bool
self and other values to be equal, and is used
by ==.