Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

FunctionRunAsConfig

import type { FunctionRunAsConfig } from "https://aws-api.deno.dev/v0.3/services/greengrass.ts?docs=full";

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''.

interface FunctionRunAsConfig {
Gid?: number | null;
Uid?: number | null;
}

§Properties

§
Gid?: number | null
[src]

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

§
Uid?: number | null
[src]

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