Amazon IoT Greengrass Version 1 no longer receives feature updates, and will receive only security patches and bug fixes until June 30, 2023. For more information, see the Amazon IoT Greengrass V1 maintenance policy. We strongly recommend that you migrate to Amazon IoT Greengrass Version 2, which adds significant new features and support for additional platforms.
LocalVolumeResourceData
{ "SourcePath": "string", "DestinationPath": "string", "GroupOwnerSetting": { "AutoAddGroupOwner": true, "GroupOwner": "string" } }
- LocalVolumeResourceData
-
Attributes that define a local volume resource.
type: object
- SourcePath
-
The local absolute path of the volume resource on the host. The source path for a volume resource type cannot start with
/sys
.type: string
- DestinationPath
-
The absolute local path of the resource inside the Lambda environment.
type: string
- GroupOwnerSetting
-
Group owner related settings for local resources.
type: object
- AutoAddGroupOwner
-
If true, Amazon IoT Greengrass adds the specified Linux OS group owner of the resource to the Lambda process privileges. The Lambda process then has the file access permissions of the added Linux group.
type: boolean
- GroupOwner
-
The name of the Linux OS group whose privileges are added to the Lambda process. This field is optional.
type: string