public static interface CfnResourceDefinition.GroupOwnerSettingProperty
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() |
java.lang.Object |
getAutoAddGroupOwner()
Indicates whether to give the privileges of the Linux group that owns the resource to the Lambda process.
|
default java.lang.String |
getGroupOwner()
The name of the Linux group whose privileges you want to add to the Lambda process.
|
java.lang.Object getAutoAddGroupOwner()
This gives the Lambda process the file access permissions of the Linux group.
default java.lang.String getGroupOwner()
This value is ignored if AutoAddGroupOwner
is true.
static CfnResourceDefinition.GroupOwnerSettingProperty.Builder builder()