Class CfnResourceDefinitionVersion.GroupOwnerSettingProperty
Settings that define additional Linux OS group permissions to give to the Lambda function process.
Inheritance
Namespace: Amazon.CDK.AWS.Greengrass
Assembly: Amazon.CDK.AWS.Greengrass.dll
Syntax (csharp)
public class GroupOwnerSettingProperty : Object, CfnResourceDefinitionVersion.IGroupOwnerSettingProperty
Syntax (vb)
Public Class GroupOwnerSettingProperty
Inherits Object
Implements CfnResourceDefinitionVersion.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
Constructors
GroupOwnerSettingProperty() |
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()
public GroupOwnerSettingProperty()
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
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.
public string GroupOwner { get; set; }
Property Value
System.String
Remarks
This value is ignored if AutoAddGroupOwner
is true.