Struct aws_sdk_securityhub::model::aws_ecs_task_definition_details::Builder [−][src]
#[non_exhaustive]pub struct Builder { /* fields omitted */ }
Expand description
A builder for AwsEcsTaskDefinitionDetails
Implementations
pub fn container_definitions(
self,
input: impl Into<AwsEcsTaskDefinitionContainerDefinitionsDetails>
) -> Self
pub fn container_definitions(
self,
input: impl Into<AwsEcsTaskDefinitionContainerDefinitionsDetails>
) -> Self
Appends an item to container_definitions
.
To override the contents of this collection use set_container_definitions
.
The container definitions that describe the containers that make up the task.
pub fn set_container_definitions(
self,
input: Option<Vec<AwsEcsTaskDefinitionContainerDefinitionsDetails>>
) -> Self
pub fn set_container_definitions(
self,
input: Option<Vec<AwsEcsTaskDefinitionContainerDefinitionsDetails>>
) -> Self
The container definitions that describe the containers that make up the task.
The ARN of the task execution role that grants the container agent permission to make API calls on behalf of the container user.
The ARN of the task execution role that grants the container agent permission to make API calls on behalf of the container user.
The name of a family that this task definition is registered to.
The name of a family that this task definition is registered to.
pub fn inference_accelerators(
self,
input: impl Into<AwsEcsTaskDefinitionInferenceAcceleratorsDetails>
) -> Self
pub fn inference_accelerators(
self,
input: impl Into<AwsEcsTaskDefinitionInferenceAcceleratorsDetails>
) -> Self
Appends an item to inference_accelerators
.
To override the contents of this collection use set_inference_accelerators
.
The Elastic Inference accelerators to use for the containers in the task.
pub fn set_inference_accelerators(
self,
input: Option<Vec<AwsEcsTaskDefinitionInferenceAcceleratorsDetails>>
) -> Self
pub fn set_inference_accelerators(
self,
input: Option<Vec<AwsEcsTaskDefinitionInferenceAcceleratorsDetails>>
) -> Self
The Elastic Inference accelerators to use for the containers in the task.
The IPC resource namespace to use for the containers in the task.
The IPC resource namespace to use for the containers in the task.
The amount (in MiB) of memory used by the task.
The amount (in MiB) of memory used by the task.
The Docker networking mode to use for the containers in the task.
The Docker networking mode to use for the containers in the task.
The process namespace to use for the containers in the task.
The process namespace to use for the containers in the task.
pub fn placement_constraints(
self,
input: impl Into<AwsEcsTaskDefinitionPlacementConstraintsDetails>
) -> Self
pub fn placement_constraints(
self,
input: impl Into<AwsEcsTaskDefinitionPlacementConstraintsDetails>
) -> Self
Appends an item to placement_constraints
.
To override the contents of this collection use set_placement_constraints
.
The placement constraint objects to use for tasks.
pub fn set_placement_constraints(
self,
input: Option<Vec<AwsEcsTaskDefinitionPlacementConstraintsDetails>>
) -> Self
pub fn set_placement_constraints(
self,
input: Option<Vec<AwsEcsTaskDefinitionPlacementConstraintsDetails>>
) -> Self
The placement constraint objects to use for tasks.
pub fn proxy_configuration(
self,
input: AwsEcsTaskDefinitionProxyConfigurationDetails
) -> Self
pub fn proxy_configuration(
self,
input: AwsEcsTaskDefinitionProxyConfigurationDetails
) -> Self
The configuration details for the App Mesh proxy.
pub fn set_proxy_configuration(
self,
input: Option<AwsEcsTaskDefinitionProxyConfigurationDetails>
) -> Self
pub fn set_proxy_configuration(
self,
input: Option<AwsEcsTaskDefinitionProxyConfigurationDetails>
) -> Self
The configuration details for the App Mesh proxy.
Appends an item to requires_compatibilities
.
To override the contents of this collection use set_requires_compatibilities
.
The task launch types that the task definition was validated against.
The task launch types that the task definition was validated against.
The short name or ARN of the IAM role that grants containers in the task permission to call Amazon Web Services API operations on your behalf.
The short name or ARN of the IAM role that grants containers in the task permission to call Amazon Web Services API operations on your behalf.
Appends an item to volumes
.
To override the contents of this collection use set_volumes
.
The data volume definitions for the task.
The data volume definitions for the task.
Consumes the builder and constructs a AwsEcsTaskDefinitionDetails
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Builder
impl UnwindSafe for Builder
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