Class CfnResourceDefinitionVersionPropsMixin.LocalDeviceResourceDataProperty
Settings for a local device resource, which represents a file under /dev .
Inherited Members
Namespace: Amazon.CDK.CfnPropertyMixins.AWS.Greengrass
Assembly: Amazon.CDK.CfnPropertyMixins.dll
Syntax (csharp)
public class CfnResourceDefinitionVersionPropsMixin.LocalDeviceResourceDataProperty : CfnResourceDefinitionVersionPropsMixin.ILocalDeviceResourceDataProperty
Syntax (vb)
Public Class CfnResourceDefinitionVersionPropsMixin.LocalDeviceResourceDataProperty Implements CfnResourceDefinitionVersionPropsMixin.ILocalDeviceResourceDataProperty
Remarks
For more information, see Access Local Resources with Lambda Functions in the Developer Guide .
In an CloudFormation template, LocalDeviceResourceData can be used in the ResourceDataContainer property type.
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.CfnPropertyMixins.AWS.Greengrass;
var localDeviceResourceDataProperty = new LocalDeviceResourceDataProperty {
GroupOwnerSetting = new GroupOwnerSettingProperty {
AutoAddGroupOwner = false,
GroupOwner = "groupOwner"
},
SourcePath = "sourcePath"
};
Synopsis
Constructors
| LocalDeviceResourceDataProperty() | Settings for a local device resource, which represents a file under |
Properties
| GroupOwnerSetting | Settings that define additional Linux OS group permissions to give to the Lambda function process. |
| SourcePath | The local absolute path of the device resource. |
Constructors
LocalDeviceResourceDataProperty()
Settings for a local device resource, which represents a file under /dev .
public LocalDeviceResourceDataProperty()
Remarks
For more information, see Access Local Resources with Lambda Functions in the Developer Guide .
In an CloudFormation template, LocalDeviceResourceData can be used in the ResourceDataContainer property type.
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.CfnPropertyMixins.AWS.Greengrass;
var localDeviceResourceDataProperty = new LocalDeviceResourceDataProperty {
GroupOwnerSetting = new GroupOwnerSettingProperty {
AutoAddGroupOwner = false,
GroupOwner = "groupOwner"
},
SourcePath = "sourcePath"
};
Properties
GroupOwnerSetting
Settings that define additional Linux OS group permissions to give to the Lambda function process.
public object? GroupOwnerSetting { get; set; }
Property Value
Remarks
Type union: either IResolvable or CfnResourceDefinitionVersionPropsMixin.IGroupOwnerSettingProperty
SourcePath
The local absolute path of the device resource.
public string? SourcePath { get; set; }
Property Value
Remarks
The source path for a device resource can refer only to a character device or block device under /dev .