AWS::Greengrass::ResourceDefinitionVersion LocalDeviceResourceData - 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 LocalDeviceResourceData

Settings for a local device resource, which represents a file under /dev. For more information, see Access Local Resources with Lambda Functions in the Amazon IoT Greengrass Version 1 Developer Guide .

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

Syntax

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

Properties

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 device resource. The source path for a device resource can refer only to a character device or block device under /dev.

Required: Yes

Type: String

Update requires: Replacement

See also