# GroupOwnerSettingProperty

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 CloudFormation template, `GroupOwnerSetting` is a property of the [`LocalDeviceResourceData`](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-greengrass-resourcedefinitionversion-localdeviceresourcedata.html) and [`LocalVolumeResourceData`](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-greengrass-resourcedefinitionversion-localvolumeresourcedata.html) property types.

- Source: Generated code
- Type last changed: v2.93.0 · 23 Aug 2023

## Example

```ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_greengrass as greengrass } from 'aws-cdk-lib';
const groupOwnerSettingProperty: greengrass.CfnResourceDefinitionVersion.GroupOwnerSettingProperty = {
  autoAddGroupOwner: false,

  // the properties below are optional
  groupOwner: 'groupOwner',
};
```

## Properties

- `autoAddGroupOwner`: boolean | [IResolvable](/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) (required) — 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.

- `groupOwner`: string — The name of the Linux group whose privileges you want to add to the Lambda process.

  This value is ignored if `AutoAddGroupOwner` is true.
