Module Values.AwsEcsTaskDefinitionDetailsSource

Details about a task definition. A task definition describes the container and volume definitions of an Amazon Elastic Container Service task.

Sourcetype nonrec t = {
  1. containerDefinitions : AwsEcsTaskDefinitionContainerDefinitionsList.t option;
    (*

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

    *)
  2. 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)

    *)
  3. 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.

    *)
  4. family : NonEmptyString.t option;
    (*

    The name of a family that this task definition is registered to.

    *)
  5. inferenceAccelerators : AwsEcsTaskDefinitionInferenceAcceleratorsList.t option;
    (*

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

    *)
  6. 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

    *)
  7. 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.

    *)
  8. 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

    *)
  9. pidMode : NonEmptyString.t option;
    (*

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

    *)
  10. placementConstraints : AwsEcsTaskDefinitionPlacementConstraintsList.t option;
    (*

    The placement constraint objects to use for tasks.

    *)
  11. proxyConfiguration : AwsEcsTaskDefinitionProxyConfigurationDetails.t option;
    (*

    The configuration details for the App Mesh proxy.

    *)
  12. requiresCompatibilities : NonEmptyStringList.t option;
    (*

    The task launch types that the task definition was validated against.

    *)
  13. 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.

    *)
  14. volumes : AwsEcsTaskDefinitionVolumesList.t option;
    (*

    The data volume definitions for the task.

    *)
  15. status : NonEmptyString.t option;
    (*

    The status of the task definition.

    *)
}
Sourceval make : ?containerDefinitions:??? -> ?cpu:??? -> ?executionRoleArn:??? -> ?family:??? -> ?inferenceAccelerators:??? -> ?ipcMode:??? -> ?memory:??? -> ?networkMode:??? -> ?pidMode:??? -> ?placementConstraints:??? -> ?proxyConfiguration:??? -> ?requiresCompatibilities:??? -> ?taskRoleArn:??? -> ?volumes:??? -> ?status:??? -> unit -> t
Sourceval 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 ]
Sourceval to_query : t -> Awso.Client.Query.t
Sourceval of_xml : Awso.Xml.t -> t
Sourceval of_string : string -> t
Sourceval of_json : Yojson.Safe.t -> t
Sourceval to_json : t -> Yojson.Safe.t