Module Values.ResourceSource

Information about a resource.

Sourcetype nonrec t = {
  1. id : string;
    (*

    The resource ID, used to refer to a resource in the Lambda function configuration. Max length is 128 characters with pattern ''[a-zA-Z0-9:_-]+''. This must be unique within a Greengrass group.

    *)
  2. name : string;
    (*

    The descriptive resource name, which is displayed on the AWS IoT Greengrass console. Max length 128 characters with pattern ''[a-zA-Z0-9:_-]+''. This must be unique within a Greengrass group.

    *)
  3. resourceDataContainer : ResourceDataContainer.t;
    (*

    A container of data for all resource types.

    *)
}
Sourceval context_ : string
Sourceval make : id:string -> name:string -> resourceDataContainer:ResourceDataContainer.t -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `String of string | `Structure of (string * [> `Structure of (string * [> `List of [> `String of string ] list | `String of string | `Structure of (string * [> `Boolean of bool | `Enum of string | `String of string ]) list ]) list ]) 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