Module Values.DaemonTaskDefinitionSource

The details of a daemon task definition. A daemon task definition is a template that describes the containers that form a daemon. Daemons deploy cross-cutting software agents independently across your Amazon ECS infrastructure.

Sourcetype nonrec t = {
  1. daemonTaskDefinitionArn : String_.t option;
    (*

    The full Amazon Resource Name (ARN) of the daemon task definition.

    *)
  2. family : String_.t option;
    (*

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

    *)
  3. revision : Integer.t option;
    (*

    The revision of the daemon task in a particular family. The revision is a version number of a daemon task definition in a family. When you register a daemon task definition for the first time, the revision is 1. Each time that you register a new revision of a daemon task definition in the same family, the revision value always increases by one.

    *)
  4. taskRoleArn : String_.t option;
    (*

    The short name or full Amazon Resource Name (ARN) of the IAM role that grants containers in the daemon task permission to call Amazon Web Services APIs on your behalf.

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

    *)
  6. containerDefinitions : DaemonContainerDefinitionList.t option;
    (*

    A list of container definitions in JSON format that describe the containers that make up the daemon task.

    *)
  7. volumes : DaemonVolumeList.t option;
    (*

    The list of data volume definitions for the daemon task.

    *)
  8. cpu : String_.t option;
    (*

    The number of CPU units used by the daemon task.

    *)
  9. memory : String_.t option;
    (*

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

    *)
  10. status : DaemonTaskDefinitionStatus.t option;
    (*

    The status of the daemon task definition. The valid values are ACTIVE, DELETE_IN_PROGRESS, and DELETED.

    *)
  11. registeredAt : Timestamp.t option;
    (*

    The Unix timestamp for the time when the daemon task definition was registered.

    *)
  12. deleteRequestedAt : Timestamp.t option;
    (*

    The Unix timestamp for the time when the daemon task definition delete was requested.

    *)
  13. registeredBy : String_.t option;
    (*

    The principal that registered the daemon task definition.

    *)
}
Sourceval make : ?daemonTaskDefinitionArn:??? -> ?family:??? -> ?revision:??? -> ?taskRoleArn:??? -> ?executionRoleArn:??? -> ?containerDefinitions:??? -> ?volumes:??? -> ?cpu:??? -> ?memory:??? -> ?status:??? -> ?registeredAt:??? -> ?deleteRequestedAt:??? -> ?registeredBy:??? -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Enum of string | `Integer of Integer.t | `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 | `Timestamp of Timestamp.t ]) 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