Interface CfnResourceDefinition.GroupOwnerSettingProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnResourceDefinition.GroupOwnerSettingProperty.Jsii$Proxy
- Enclosing class:
CfnResourceDefinition
@Stability(Stable)
public static interface CfnResourceDefinition.GroupOwnerSettingProperty
extends software.amazon.jsii.JsiiSerializable
Settings that define additional Linux OS group permissions to give to the Lambda function process.
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.
Example:
// The code below shows an example of how to instantiate this type. // The values are placeholders you should change. import software.amazon.awscdk.services.greengrass.*; GroupOwnerSettingProperty groupOwnerSettingProperty = GroupOwnerSettingProperty.builder() .autoAddGroupOwner(false) // the properties below are optional .groupOwner("groupOwner") .build();
- See Also:
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic final class
A builder forCfnResourceDefinition.GroupOwnerSettingProperty
static final class
An implementation forCfnResourceDefinition.GroupOwnerSettingProperty
-
Method Summary
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getAutoAddGroupOwner
Indicates whether to give the privileges of the Linux group that owns the resource to the Lambda process.This gives the Lambda process the file access permissions of the Linux group.
- See Also:
-
getGroupOwner
The name of the Linux group whose privileges you want to add to the Lambda process.This value is ignored if
AutoAddGroupOwner
is true.- See Also:
-
builder
-