Struct aws_sdk_pipes::types::builders::EcsTaskOverrideBuilder
source · #[non_exhaustive]pub struct EcsTaskOverrideBuilder { /* private fields */ }
Expand description
A builder for EcsTaskOverride
.
Implementations§
source§impl EcsTaskOverrideBuilder
impl EcsTaskOverrideBuilder
sourcepub fn container_overrides(self, input: EcsContainerOverride) -> Self
pub fn container_overrides(self, input: EcsContainerOverride) -> Self
Appends an item to container_overrides
.
To override the contents of this collection use set_container_overrides
.
One or more container overrides that are sent to a task.
sourcepub fn set_container_overrides(
self,
input: Option<Vec<EcsContainerOverride>>
) -> Self
pub fn set_container_overrides( self, input: Option<Vec<EcsContainerOverride>> ) -> Self
One or more container overrides that are sent to a task.
sourcepub fn ephemeral_storage(self, input: EcsEphemeralStorage) -> Self
pub fn ephemeral_storage(self, input: EcsEphemeralStorage) -> Self
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 set_ephemeral_storage(self, input: Option<EcsEphemeralStorage>) -> Self
pub fn set_ephemeral_storage(self, input: Option<EcsEphemeralStorage>) -> Self
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, input: impl Into<String>) -> Self
pub fn execution_role_arn(self, input: impl Into<String>) -> Self
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 set_execution_role_arn(self, input: Option<String>) -> Self
pub fn set_execution_role_arn(self, input: Option<String>) -> Self
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,
input: EcsInferenceAcceleratorOverride
) -> Self
pub fn inference_accelerator_overrides( self, input: EcsInferenceAcceleratorOverride ) -> Self
Appends an item to inference_accelerator_overrides
.
To override the contents of this collection use set_inference_accelerator_overrides
.
The Elastic Inference accelerator override for the task.
sourcepub fn set_inference_accelerator_overrides(
self,
input: Option<Vec<EcsInferenceAcceleratorOverride>>
) -> Self
pub fn set_inference_accelerator_overrides( self, input: Option<Vec<EcsInferenceAcceleratorOverride>> ) -> Self
The Elastic Inference accelerator override for the task.
sourcepub fn set_memory(self, input: Option<String>) -> Self
pub fn set_memory(self, input: Option<String>) -> Self
The memory override for the task.
sourcepub fn task_role_arn(self, input: impl Into<String>) -> Self
pub fn task_role_arn(self, input: impl Into<String>) -> Self
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.
sourcepub fn set_task_role_arn(self, input: Option<String>) -> Self
pub fn set_task_role_arn(self, input: Option<String>) -> Self
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.
sourcepub fn build(self) -> EcsTaskOverride
pub fn build(self) -> EcsTaskOverride
Consumes the builder and constructs a EcsTaskOverride
.
Trait Implementations§
source§impl Clone for EcsTaskOverrideBuilder
impl Clone for EcsTaskOverrideBuilder
source§fn clone(&self) -> EcsTaskOverrideBuilder
fn clone(&self) -> EcsTaskOverrideBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for EcsTaskOverrideBuilder
impl Debug for EcsTaskOverrideBuilder
source§impl Default for EcsTaskOverrideBuilder
impl Default for EcsTaskOverrideBuilder
source§fn default() -> EcsTaskOverrideBuilder
fn default() -> EcsTaskOverrideBuilder
source§impl PartialEq<EcsTaskOverrideBuilder> for EcsTaskOverrideBuilder
impl PartialEq<EcsTaskOverrideBuilder> for EcsTaskOverrideBuilder
source§fn eq(&self, other: &EcsTaskOverrideBuilder) -> bool
fn eq(&self, other: &EcsTaskOverrideBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.