interface LocalDeviceResourceDataProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.Mixins.Preview.AWS.Greengrass.Mixins.CfnResourceDefinitionVersionPropsMixin.LocalDeviceResourceDataProperty |
Go | github.com/aws/aws-cdk-go/awscdkmixinspreview/v2/awsgreengrass/mixins#CfnResourceDefinitionVersionPropsMixin_LocalDeviceResourceDataProperty |
Java | software.amazon.awscdk.mixins.preview.services.greengrass.mixins.CfnResourceDefinitionVersionPropsMixin.LocalDeviceResourceDataProperty |
Python | aws_cdk.mixins_preview.aws_greengrass.mixins.CfnResourceDefinitionVersionPropsMixin.LocalDeviceResourceDataProperty |
TypeScript | @aws-cdk/mixins-preview » aws_greengrass » mixins » CfnResourceDefinitionVersionPropsMixin » LocalDeviceResourceDataProperty |
Settings for a local device resource, which represents a file under /dev .
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.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { mixins as greengrass_mixins } from '@aws-cdk/mixins-preview/aws-greengrass';
const localDeviceResourceDataProperty: greengrass_mixins.CfnResourceDefinitionVersionPropsMixin.LocalDeviceResourceDataProperty = {
groupOwnerSetting: {
autoAddGroupOwner: false,
groupOwner: 'groupOwner',
},
sourcePath: 'sourcePath',
};
Properties
| Name | Type | Description |
|---|---|---|
| group | IResolvable | Group | Settings that define additional Linux OS group permissions to give to the Lambda function process. |
| source | string | The local absolute path of the device resource. |
groupOwnerSetting?
Type:
IResolvable | Group
(optional)
Settings that define additional Linux OS group permissions to give to the Lambda function process.
sourcePath?
Type:
string
(optional)
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 .

.NET
Go
Java
Python
TypeScript