Values.RegisterDaemonTaskDefinitionRequestSourceRegisters a new daemon task definition from the supplied family and containerDefinitions. Optionally, you can add data volumes to your containers with the volumes parameter. For more information, see Daemon task definitions in the Amazon Elastic Container Service Developer Guide. A daemon task definition is a template that describes the containers that form a daemon. Daemons deploy cross-cutting software agents such as security monitoring, telemetry, and logging across your Amazon ECS infrastructure. Each time you call RegisterDaemonTaskDefinition, a new revision of the daemon task definition is created. You can't modify a revision after you register it.
type nonrec t = {family : String_.t;You must specify a family for a daemon task definition. This family is used as a name for your daemon task definition. Up to 255 letters (uppercase and lowercase), numbers, underscores, and hyphens are allowed.
*)taskRoleArn : String_.t option;The short name or full Amazon Resource Name (ARN) of the IAM role that containers in this daemon task can assume. All containers in this daemon task are granted the permissions that are specified in this role.
*)executionRoleArn : String_.t option;The Amazon Resource Name (ARN) of the task execution role that grants the Amazon ECS container agent permission to make Amazon Web Services API calls on your behalf. The task execution role is required for daemon tasks that pull container images from Amazon ECR or send container logs to CloudWatch.
*)containerDefinitions : DaemonContainerDefinitionList.t;A list of container definitions in JSON format that describe the containers that make up your daemon task.
*)cpu : String_.t option;The number of CPU units used by the daemon task. It can be expressed as an integer using CPU units (for example, 1024).
*)memory : String_.t option;The amount of memory (in MiB) used by the daemon task. It can be expressed as an integer using MiB (for example, 1024).
*)volumes : DaemonVolumeList.t option;A list of volume definitions in JSON format that containers in your daemon task can use.
*)}val make :
?taskRoleArn:??? ->
?executionRoleArn:??? ->
?cpu:??? ->
?memory:??? ->
?volumes:??? ->
?tags:??? ->
family:String_.t ->
containerDefinitions:DaemonContainerDefinitionList.t ->
unit ->
tval to_value :
t ->
[> `Structure of
(string
* [> `List of
[> `Structure of
(string
* [> `Boolean of BoxedBoolean.t
| `Integer of BoxedInteger.t
| `List of
[> `String of String_.t
| `Structure of
(string
* [> `Boolean of BoxedBoolean.t
| `Enum of string
| `Integer of Integer.t
| `String of String_.t ])
list ]
list
| `String of String_.t
| `Structure of
(string
* [> `Boolean of BoxedBoolean.t
| `Enum of string
| `Integer of BoxedInteger.t
| `List of
[> `Integer of BoxedInteger.t
| `String of String_.t
| `Structure of
(string
* [> `Integer of Integer.t
| `List of
[> `Enum of string
| `String of String_.t ]
list
| `String of String_.t ])
list ]
list
| `Map of
([> `String of String_.t ]
* [> `String of String_.t ])
list
| `String of String_.t
| `Structure of
(string
* [> `List of [> `String of String_.t ] list ])
list ])
list ])
list ]
list
| `String of String_.t ])
list ]