@Stability(value=Stable)
public static interface CfnResourceDefinition.GroupOwnerSettingProperty
extends software.amazon.jsii.JsiiSerializable
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();
| Modifier and Type | Interface and Description |
|---|---|
static class |
CfnResourceDefinition.GroupOwnerSettingProperty.Builder
A builder for
CfnResourceDefinition.GroupOwnerSettingProperty |
static class |
CfnResourceDefinition.GroupOwnerSettingProperty.Jsii$Proxy
An implementation for
CfnResourceDefinition.GroupOwnerSettingProperty |
| Modifier and Type | Method and Description |
|---|---|
static CfnResourceDefinition.GroupOwnerSettingProperty.Builder |
builder() |
Object |
getAutoAddGroupOwner()
Indicates whether to give the privileges of the Linux group that owns the resource to the Lambda process.
|
default String |
getGroupOwner()
The name of the Linux group whose privileges you want to add to the Lambda process.
|
@Stability(value=Stable) @NotNull Object getAutoAddGroupOwner()
This gives the Lambda process the file access permissions of the Linux group.
@Stability(value=Stable) @Nullable default String getGroupOwner()
This value is ignored if AutoAddGroupOwner is true.
@Stability(value=Stable) static CfnResourceDefinition.GroupOwnerSettingProperty.Builder builder()
Copyright © 2022. All rights reserved.