The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

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/or group whose permissions are used when running the Lambda function. You can specify one or both values to override the default values (ggc_user/ggc_group). 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 you must 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