Show / Hide Table of Contents

Interface CfnResourceDefinitionPropsMixin.IGroupOwnerSettingProperty

Settings that define additional Linux OS group permissions to give to the Lambda function process.

Namespace: Amazon.CDK.Mixins.Preview.AWS.Greengrass.Mixins
Assembly: Amazon.CDK.Mixins.Preview.dll
Syntax (csharp)
public interface CfnResourceDefinitionPropsMixin.IGroupOwnerSettingProperty
Syntax (vb)
Public Interface CfnResourceDefinitionPropsMixin.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.

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-greengrass-resourcedefinition-groupownersetting.html

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

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

object

Remarks

This gives the Lambda process the file access permissions of the Linux group.

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-greengrass-resourcedefinition-groupownersetting.html#cfn-greengrass-resourcedefinition-groupownersetting-autoaddgroupowner

Type union: either bool or IResolvable

GroupOwner

The name of the Linux group whose privileges you want to add to the Lambda process.

string? GroupOwner { get; }
Property Value

string

Remarks

This value is ignored if AutoAddGroupOwner is true.

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-greengrass-resourcedefinition-groupownersetting.html#cfn-greengrass-resourcedefinition-groupownersetting-groupowner

Back to top Generated by DocFX