Module Values.FunctionRunAsConfigSource

Specifies the user and group whose permissions are used when running the Lambda function. You can specify one or both values to override the default values. We recommend that you avoid running as root unless absolutely necessary to minimize the risk of unintended changes or malicious attacks. To run as root, you must set ''IsolationMode'' to ''NoContainer'' and update config.json in ''greengrass-root/config'' to set ''allowFunctionsToRunAsRoot'' to ''yes''.

Sourcetype nonrec t = {
  1. gid : int option;
    (*

    The group ID whose permissions are used to run a Lambda function.

    *)
  2. uid : int option;
    (*

    The user ID whose permissions are used to run a Lambda function.

    *)
}
Sourceval make : ?gid:??? -> ?uid:??? -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Integer of int ]) 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