interface LambdaDeviceMountProperty
Language | Type name |
---|---|
.NET | Amazon.CDK.AWS.GreengrassV2.CfnComponentVersion.LambdaDeviceMountProperty |
Java | software.amazon.awscdk.services.greengrassv2.CfnComponentVersion.LambdaDeviceMountProperty |
Python | aws_cdk.aws_greengrassv2.CfnComponentVersion.LambdaDeviceMountProperty |
TypeScript | @aws-cdk/aws-greengrassv2 » CfnComponentVersion » LambdaDeviceMountProperty |
Contains information about a device that Linux processes in a container can access.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import * as greengrassv2 from '@aws-cdk/aws-greengrassv2';
const lambdaDeviceMountProperty: greengrassv2.CfnComponentVersion.LambdaDeviceMountProperty = {
addGroupOwner: false,
path: 'path',
permission: 'permission',
};
Properties
Name | Type | Description |
---|---|---|
add | boolean | IResolvable | Whether or not to add the component's system user as an owner of the device. |
path? | string | The mount path for the device in the file system. |
permission? | string | The permission to access the device: read/only ( ro ) or read/write ( rw ). |
addGroupOwner?
Type:
boolean |
IResolvable
(optional)
Whether or not to add the component's system user as an owner of the device.
Default: false
path?
Type:
string
(optional)
The mount path for the device in the file system.
permission?
Type:
string
(optional)
The permission to access the device: read/only ( ro
) or read/write ( rw
).
Default: ro