Class: Aws::Greengrass::Types::FunctionRunAsConfig
- Inherits:
-
Struct
- Object
- Struct
- Aws::Greengrass::Types::FunctionRunAsConfig
- Includes:
- Structure
- Defined in:
- lib/aws-sdk-greengrass/types.rb
Overview
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”.
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#gid ⇒ Integer
The group ID whose permissions are used to run a Lambda function.
-
#uid ⇒ Integer
The user ID whose permissions are used to run a Lambda function.
Instance Attribute Details
#gid ⇒ Integer
The group ID whose permissions are used to run a Lambda function.
1859 1860 1861 1862 1863 1864 |
# File 'lib/aws-sdk-greengrass/types.rb', line 1859 class FunctionRunAsConfig < Struct.new( :gid, :uid) SENSITIVE = [] include Aws::Structure end |
#uid ⇒ Integer
The user ID whose permissions are used to run a Lambda function.
1859 1860 1861 1862 1863 1864 |
# File 'lib/aws-sdk-greengrass/types.rb', line 1859 class FunctionRunAsConfig < Struct.new( :gid, :uid) SENSITIVE = [] include Aws::Structure end |