Show / Hide Table of Contents

Class CfnResourceDefinition.GroupOwnerSettingProperty

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

Inheritance
System.Object
CfnResourceDefinition.GroupOwnerSettingProperty
Implements
CfnResourceDefinition.IGroupOwnerSettingProperty
Namespace: Amazon.CDK.AWS.Greengrass
Assembly: Amazon.CDK.AWS.Greengrass.dll
Syntax (csharp)
public class GroupOwnerSettingProperty : Object, CfnResourceDefinition.IGroupOwnerSettingProperty
Syntax (vb)
Public Class GroupOwnerSettingProperty
    Inherits Object
    Implements CfnResourceDefinition.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.

Link: 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.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.

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

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.

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

Implements

CfnResourceDefinition.IGroupOwnerSettingProperty
Back to top Generated by DocFX