interface LocalDeviceResourceDataProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.CfnPropertyMixins.AWS.Greengrass.CfnResourceDefinitionPropsMixin.LocalDeviceResourceDataProperty |
Go | github.com/aws/aws-cdk-go/awscdkcfnpropertymixins/v2/awsgreengrass#CfnResourceDefinitionPropsMixin_LocalDeviceResourceDataProperty |
Java | software.amazon.awscdk.cfnpropertymixins.services.greengrass.CfnResourceDefinitionPropsMixin.LocalDeviceResourceDataProperty |
Python | aws_cdk.cfn_property_mixins.aws_greengrass.CfnResourceDefinitionPropsMixin.LocalDeviceResourceDataProperty |
TypeScript | @aws-cdk/cfn-property-mixins » aws_greengrass » CfnResourceDefinitionPropsMixin » 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 { aws_greengrass as greengrass } from '@aws-cdk/cfn-property-mixins';
const localDeviceResourceDataProperty: greengrass.CfnResourceDefinitionPropsMixin.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