NAME
Paws::Greengrass::FunctionRunAsConfig
USAGE
This class represents one of two things:
Arguments in a call to a service
Use the attributes of this class as arguments to methods. You shouldn't make instances of this class. Each attribute should be used as a named argument in the calls that expect this type of object.
As an example, if Att1 is expected to be a Paws::Greengrass::FunctionRunAsConfig object:
$service_obj->Method(Att1 => { Gid => $value, ..., Uid => $value });
Results returned from an API call
Use accessors for each attribute. If Att1 is expected to be an Paws::Greengrass::FunctionRunAsConfig object:
$result = $service_obj->Method(...);
$result->Att1->Gid
DESCRIPTION
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''.
ATTRIBUTES
Gid => Int
The group ID whose permissions are used to run a Lambda function.
Uid => Int
The user ID whose permissions are used to run a Lambda function.
SEE ALSO
This class forms part of Paws, describing an object used in Paws::Greengrass
BUGS and CONTRIBUTIONS
The source code is located here: https://github.com/pplu/aws-sdk-perl
Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues