AWS::Greengrass::ResourceDefinition LocalVolumeResourceData - AWS CloudFormation
Services or capabilities described in AWS documentation might vary by Region. To see the differences applicable to the AWS European Sovereign Cloud Region, see the AWS European Sovereign Cloud User Guide.

This is the new CloudFormation Template Reference Guide. Please update your bookmarks and links. For help getting started with CloudFormation, see the AWS CloudFormation User Guide.

AWS::Greengrass::ResourceDefinition 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 CloudFormation template, LocalVolumeResourceData can be used in the ResourceDataContainer property type.

Syntax

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