Class CfnResourceDefinitionVersionPropsMixin.GroupOwnerSettingProperty
Settings that define additional Linux OS group permissions to give to the Lambda function process.
Inherited Members
Namespace: Amazon.CDK.Mixins.Preview.AWS.Greengrass.Mixins
Assembly: Amazon.CDK.Mixins.Preview.dll
Syntax (csharp)
public class CfnResourceDefinitionVersionPropsMixin.GroupOwnerSettingProperty : CfnResourceDefinitionVersionPropsMixin.IGroupOwnerSettingProperty
Syntax (vb)
Public Class CfnResourceDefinitionVersionPropsMixin.GroupOwnerSettingProperty Implements CfnResourceDefinitionVersionPropsMixin.IGroupOwnerSettingProperty
Remarks
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.
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.Mixins.Preview.AWS.Greengrass.Mixins;
var groupOwnerSettingProperty = new GroupOwnerSettingProperty {
AutoAddGroupOwner = false,
GroupOwner = "groupOwner"
};
Synopsis
Constructors
| GroupOwnerSettingProperty() | Settings that define additional Linux OS group permissions to give to the Lambda function process. |
Properties
| AutoAddGroupOwner | Indicates whether to give the privileges of the Linux group that owns the resource to the Lambda process. |
| GroupOwner | The name of the Linux group whose privileges you want to add to the Lambda process. |
Constructors
GroupOwnerSettingProperty()
Settings that define additional Linux OS group permissions to give to the Lambda function process.
public GroupOwnerSettingProperty()
Remarks
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.
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.Mixins.Preview.AWS.Greengrass.Mixins;
var groupOwnerSettingProperty = new GroupOwnerSettingProperty {
AutoAddGroupOwner = false,
GroupOwner = "groupOwner"
};
Properties
AutoAddGroupOwner
Indicates whether to give the privileges of the Linux group that owns the resource to the Lambda process.
public object? AutoAddGroupOwner { get; set; }
Property Value
Remarks
This gives the Lambda process the file access permissions of the Linux group.
Type union: either bool or IResolvable
GroupOwner
The name of the Linux group whose privileges you want to add to the Lambda process.
public string? GroupOwner { get; set; }
Property Value
Remarks
This value is ignored if AutoAddGroupOwner is true.