Module Values.AttributeSource

An attribute is a name-value pair that's associated with an Amazon ECS object. Use attributes to extend the Amazon ECS data model by adding custom metadata to your resources. For more information, see Attributes in the Amazon Elastic Container Service Developer Guide.

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

    The name of the attribute. The name must contain between 1 and 128 characters. The name may contain letters (uppercase and lowercase), numbers, hyphens (-), underscores (_), forward slashes (/), back slashes (\), or periods (.).

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

    The value of the attribute. The value must contain between 1 and 128 characters. It can contain letters (uppercase and lowercase), numbers, hyphens (-), underscores (_), periods (.), at signs (@), forward slashes (/), back slashes (\), colons (:), or spaces. The value can't start or end with a space.

    *)
  3. targetType : TargetType.t option;
    (*

    The type of the target to attach the attribute with. This parameter is required if you use the short form ID for a resource instead of the full ARN.

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

    The ID of the target. You can specify the short form ID for a resource or the full Amazon Resource Name (ARN).

    *)
}
Sourceval context_ : string
Sourceval make : ?value:??? -> ?targetType:??? -> ?targetId:??? -> name:String_.t -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Enum of string | `String of String_.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