interface GroupOwnerSettingProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.Mixins.Preview.AWS.Greengrass.Mixins.CfnResourceDefinitionPropsMixin.GroupOwnerSettingProperty |
Go | github.com/aws/aws-cdk-go/awscdkmixinspreview/v2/awsgreengrass/mixins#CfnResourceDefinitionPropsMixin_GroupOwnerSettingProperty |
Java | software.amazon.awscdk.mixins.preview.services.greengrass.mixins.CfnResourceDefinitionPropsMixin.GroupOwnerSettingProperty |
Python | aws_cdk.mixins_preview.aws_greengrass.mixins.CfnResourceDefinitionPropsMixin.GroupOwnerSettingProperty |
TypeScript | @aws-cdk/mixins-preview » aws_greengrass » mixins » CfnResourceDefinitionPropsMixin » 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 and LocalVolumeResourceData property types.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { mixins as greengrass_mixins } from '@aws-cdk/mixins-preview/aws-greengrass';
const groupOwnerSettingProperty: greengrass_mixins.CfnResourceDefinitionPropsMixin.GroupOwnerSettingProperty = {
autoAddGroupOwner: false,
groupOwner: 'groupOwner',
};
Properties
| Name | Type | Description |
|---|---|---|
| auto | boolean | IResolvable | Indicates whether to give the privileges of the Linux group that owns the resource to the Lambda process. |
| group | string | The name of the Linux group whose privileges you want to add to the Lambda process. |
autoAddGroupOwner?
Type:
boolean | IResolvable
(optional)
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?
Type:
string
(optional)
The name of the Linux group whose privileges you want to add to the Lambda process.
This value is ignored if AutoAddGroupOwner is true.

.NET
Go
Java
Python
TypeScript