AWS::Greengrass::ResourceDefinitionVersion GroupOwnerSetting
Settings that define additional Linux OS group permissions to give to the Lambda function process. You can give the permissions of the Linux group that owns
the resource or choose another Linux group. These permissions are in addition to the
function's RunAs
permissions.
In an AWS CloudFormation template, GroupOwnerSetting
is a property of the
LocalDeviceResourceData
and LocalVolumeResourceData
property types.
Syntax
To declare this entity in your AWS CloudFormation template, use the following syntax:
JSON
{ "AutoAddGroupOwner" :
Boolean
, "GroupOwner" :String
}
YAML
AutoAddGroupOwner:
Boolean
GroupOwner:String
Properties
AutoAddGroupOwner
-
Indicates whether to give the privileges of the Linux group that owns the resource to the Lambda process. This gives the Lambda process the file access permissions of the Linux group.
Required: Yes
Type: Boolean
Update requires: Replacement
GroupOwner
-
The name of the Linux group whose privileges you want to add to the Lambda process. This value is ignored if
AutoAddGroupOwner
is true.Required: No
Type: String
Update requires: Replacement
See also
-
GroupOwnerSetting in the AWS IoT Greengrass Version 1 API Reference