AWS::Greengrass::ResourceDefinitionVersion GroupOwnerSetting - Amazon CloudFormation
Services or capabilities described in Amazon Web Services documentation might vary by Region. To see the differences applicable to the China Regions, see Getting Started with Amazon Web Services in China (PDF).

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 Amazon CloudFormation template, GroupOwnerSetting is a property of the LocalDeviceResourceData and LocalVolumeResourceData property types.

Syntax

To declare this entity in your Amazon 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