Struct aws_sdk_pipes::model::EcsTaskOverride
source · #[non_exhaustive]pub struct EcsTaskOverride { /* private fields */ }
Expand description
The overrides that are associated with a task.
Implementations§
source§impl EcsTaskOverride
impl EcsTaskOverride
sourcepub fn container_overrides(&self) -> Option<&[EcsContainerOverride]>
pub fn container_overrides(&self) -> Option<&[EcsContainerOverride]>
One or more container overrides that are sent to a task.
sourcepub fn ephemeral_storage(&self) -> Option<&EcsEphemeralStorage>
pub fn ephemeral_storage(&self) -> Option<&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.
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 IAM 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 inference_accelerator_overrides(
&self
) -> Option<&[EcsInferenceAcceleratorOverride]>
pub fn inference_accelerator_overrides(
&self
) -> Option<&[EcsInferenceAcceleratorOverride]>
The Elastic Inference accelerator override for the task.
sourcepub fn task_role_arn(&self) -> Option<&str>
pub fn task_role_arn(&self) -> Option<&str>
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.
source§impl EcsTaskOverride
impl EcsTaskOverride
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture EcsTaskOverride
.
Trait Implementations§
source§impl Clone for EcsTaskOverride
impl Clone for EcsTaskOverride
source§fn clone(&self) -> EcsTaskOverride
fn clone(&self) -> EcsTaskOverride
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for EcsTaskOverride
impl Debug for EcsTaskOverride
source§impl PartialEq<EcsTaskOverride> for EcsTaskOverride
impl PartialEq<EcsTaskOverride> for EcsTaskOverride
source§fn eq(&self, other: &EcsTaskOverride) -> bool
fn eq(&self, other: &EcsTaskOverride) -> bool
self
and other
values to be equal, and is used
by ==
.