AWS::Greengrass::ResourceDefinitionVersion LocalVolumeResourceData - Amazon CloudFormation
Services or capabilities described in Amazon Web Services documentation might vary by Region. To see the differences applicable to the China Regions, see Getting Started with Amazon Web Services in China (PDF).

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 Amazon IoT Greengrass Version 1 Developer Guide.

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

Syntax

To declare this entity in your Amazon 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