/AWS1/CL_GGSFUNCRUNASCONFIG¶
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''.
CONSTRUCTOR
¶
IMPORTING¶
Optional arguments:¶
iv_gid
TYPE /AWS1/GGS__INTEGER
/AWS1/GGS__INTEGER
¶
The group ID whose permissions are used to run a Lambda function.
iv_uid
TYPE /AWS1/GGS__INTEGER
/AWS1/GGS__INTEGER
¶
The user ID whose permissions are used to run a Lambda function.
Queryable Attributes¶
Gid¶
The group ID whose permissions are used to run a Lambda function.
Accessible with the following methods¶
Method | Description |
---|---|
GET_GID() |
Getter for GID, with configurable default |
ASK_GID() |
Getter for GID w/ exceptions if field has no value |
HAS_GID() |
Determine if GID has a value |
Uid¶
The user ID whose permissions are used to run a Lambda function.
Accessible with the following methods¶
Method | Description |
---|---|
GET_UID() |
Getter for UID, with configurable default |
ASK_UID() |
Getter for UID w/ exceptions if field has no value |
HAS_UID() |
Determine if UID has a value |