pub struct Builder { /* private fields */ }
Expand description

Implementations§

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.

The container definitions that describe the containers that make up the task.

The number of CPU units used by the task.Valid values are as follows:

  • 256 (.25 vCPU)

  • 512 (.5 vCPU)

  • 1024 (1 vCPU)

  • 2048 (2 vCPU)

  • 4096 (4 vCPU)

The number of CPU units used by the task.Valid values are as follows:

  • 256 (.25 vCPU)

  • 512 (.5 vCPU)

  • 1024 (1 vCPU)

  • 2048 (2 vCPU)

  • 4096 (4 vCPU)

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.

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.

The Elastic Inference accelerators to use for the containers in the task.

The inter-process communication (IPC) resource namespace to use for the containers in the task. Valid values are as follows:

  • host

  • none

  • task

The inter-process communication (IPC) resource namespace to use for the containers in the task. Valid values are as follows:

  • host

  • none

  • task

The amount (in MiB) of memory used by the task.

For tasks that are hosted on Amazon EC2, you can provide a task-level memory value or a container-level memory value. For tasks that are hosted on Fargate, you must use one of the specified values in the Amazon Elastic Container Service Developer Guide , which determines your range of supported values for the Cpu and Memory parameters.

The amount (in MiB) of memory used by the task.

For tasks that are hosted on Amazon EC2, you can provide a task-level memory value or a container-level memory value. For tasks that are hosted on Fargate, you must use one of the specified values in the Amazon Elastic Container Service Developer Guide , which determines your range of supported values for the Cpu and Memory parameters.

The Docker networking mode to use for the containers in the task. Valid values are as follows:

  • awsvpc

  • bridge

  • host

  • none

The Docker networking mode to use for the containers in the task. Valid values are as follows:

  • awsvpc

  • bridge

  • host

  • none

The process namespace to use for the containers in the task. Valid values are host or task.

The process namespace to use for the containers in the task. Valid values are host or task.

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.

The placement constraint objects to use for tasks.

The configuration details for the App Mesh proxy.

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§

Returns a copy of the value. Read more
Performs copy-assignment from source. Read more
Formats the value using the given formatter. Read more
Returns the “default value” for a type. Read more
This method tests for self and other values to be equal, and is used by ==.
This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.

Auto Trait Implementations§

Blanket Implementations§

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
Instruments this type with the current Span, returning an Instrumented wrapper. Read more

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Should always be Self
The resulting type after obtaining ownership.
Creates owned data from borrowed data, usually by cloning. Read more
Uses borrowed data to replace owned data, usually by cloning. Read more
The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.
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