AWS::Greengrass::ResourceDefinitionVersion LocalVolumeResourceData - AWS CloudFormation

AWS::Greengrass::ResourceDefinitionVersion LocalVolumeResourceData

Settings for a local volume resource, which represents a file or directory on the root file system. For more information, see Access Local Resources with Lambda Functions in the AWS IoT Greengrass Version 1 Developer Guide .

In an AWS CloudFormation template, LocalVolumeResourceData can be used in the ResourceDataContainer property type.

Syntax

To declare this entity in your AWS CloudFormation template, use the following syntax:

JSON

{ "DestinationPath" : String, "GroupOwnerSetting" : GroupOwnerSetting, "SourcePath" : String }

Properties

DestinationPath

The absolute local path of the resource in the Lambda environment.

Required: Yes

Type: String

Update requires: Replacement

GroupOwnerSetting

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

Required: No

Type: GroupOwnerSetting

Update requires: Replacement

SourcePath

The local absolute path of the volume resource on the host. The source path for a volume resource type cannot start with /sys.

Required: Yes

Type: String

Update requires: Replacement

See also