Interface CfnResourceDefinitionVersion.IGroupOwnerSettingProperty
Settings that define additional Linux OS group permissions to give to the Lambda function process.
Namespace: Amazon.CDK.AWS.Greengrass
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public interface IGroupOwnerSettingProperty
Syntax (vb)
Public Interface 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 AWS 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.AWS.Greengrass;
var groupOwnerSettingProperty = new GroupOwnerSettingProperty {
AutoAddGroupOwner = false,
// the properties below are optional
GroupOwner = "groupOwner"
};
Synopsis
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. |
Properties
AutoAddGroupOwner
Indicates whether to give the privileges of the Linux group that owns the resource to the Lambda process.
object AutoAddGroupOwner { get; }
Property Value
System.Object
Remarks
This gives the Lambda process the file access permissions of the Linux group.
GroupOwner
The name of the Linux group whose privileges you want to add to the Lambda process.
virtual string GroupOwner { get; }
Property Value
System.String
Remarks
This value is ignored if AutoAddGroupOwner
is true.