Values.AwsEcsTaskDefinitionDetailsSourceDetails about a task definition. A task definition describes the container and volume definitions of an Amazon Elastic Container Service task.
type nonrec t = {containerDefinitions : AwsEcsTaskDefinitionContainerDefinitionsList.t option;The container definitions that describe the containers that make up the task.
*)cpu : NonEmptyString.t option;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)
*)executionRoleArn : NonEmptyString.t option;The ARN of the task execution role that grants the container agent permission to make API calls on behalf of the container user.
*)family : NonEmptyString.t option;The name of a family that this task definition is registered to.
*)inferenceAccelerators : AwsEcsTaskDefinitionInferenceAcceleratorsList.t option;The Elastic Inference accelerators to use for the containers in the task.
*)ipcMode : NonEmptyString.t option;The inter-process communication (IPC) resource namespace to use for the containers in the task. Valid values are as follows: host none task
*)memory : NonEmptyString.t option;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.
*)networkMode : NonEmptyString.t option;The Docker networking mode to use for the containers in the task. Valid values are as follows: awsvpc bridge host none
*)pidMode : NonEmptyString.t option;The process namespace to use for the containers in the task. Valid values are host or task.
*)placementConstraints : AwsEcsTaskDefinitionPlacementConstraintsList.t option;The placement constraint objects to use for tasks.
*)proxyConfiguration : AwsEcsTaskDefinitionProxyConfigurationDetails.t option;The configuration details for the App Mesh proxy.
*)requiresCompatibilities : NonEmptyStringList.t option;The task launch types that the task definition was validated against.
*)taskRoleArn : NonEmptyString.t option;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.
*)volumes : AwsEcsTaskDefinitionVolumesList.t option;The data volume definitions for the task.
*)status : NonEmptyString.t option;The status of the task definition.
*)}val make :
?containerDefinitions:??? ->
?cpu:??? ->
?executionRoleArn:??? ->
?family:??? ->
?inferenceAccelerators:??? ->
?ipcMode:??? ->
?memory:??? ->
?networkMode:??? ->
?pidMode:??? ->
?placementConstraints:??? ->
?proxyConfiguration:??? ->
?requiresCompatibilities:??? ->
?taskRoleArn:??? ->
?volumes:??? ->
?status:??? ->
unit ->
tval to_value :
t ->
[> `Structure of
(string
* [> `List of
[> `String of NonEmptyString.t
| `Structure of
(string
* [> `Boolean of Boolean.t
| `Integer of Integer.t
| `List of
[> `String of NonEmptyString.t
| `Structure of
(string
* [> `Boolean of Boolean.t
| `Integer of Integer.t
| `String of NonEmptyString.t ])
list ]
list
| `Map of
([> `String of NonEmptyString.t ]
* [> `String of NonEmptyString.t ])
list
| `String of NonEmptyString.t
| `Structure of
(string
* [> `Boolean of Boolean.t
| `Integer of Integer.t
| `List of
[> `String of NonEmptyString.t
| `Structure of
(string
* [> `Integer of Integer.t
| `List of
[> `String of NonEmptyString.t ] list
| `String of NonEmptyString.t ])
list ]
list
| `Map of
([> `String of NonEmptyString.t ]
* [> `String of NonEmptyString.t ])
list
| `String of NonEmptyString.t
| `Structure of
(string
* [> `List of [> `String of NonEmptyString.t ] list
| `String of NonEmptyString.t ])
list ])
list ])
list ]
list
| `String of NonEmptyString.t
| `Structure of
(string
* [> `List of
[> `Structure of
(string * [> `String of NonEmptyString.t ]) list ]
list
| `String of NonEmptyString.t ])
list ])
list ]