aws-cdk-lib.aws_greengrassv2.CfnComponentVersion.LambdaDeviceMountProperty

interface LambdaDeviceMountProperty

LanguageType name
.NETAmazon.CDK.AWS.GreengrassV2.CfnComponentVersion.LambdaDeviceMountProperty
Gogithub.com/aws/aws-cdk-go/awscdk/v2/awsgreengrassv2#CfnComponentVersion_LambdaDeviceMountProperty
Javasoftware.amazon.awscdk.services.greengrassv2.CfnComponentVersion.LambdaDeviceMountProperty
Pythonaws_cdk.aws_greengrassv2.CfnComponentVersion.LambdaDeviceMountProperty
TypeScript aws-cdk-lib » 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 { aws_greengrassv2 as greengrassv2 } from 'aws-cdk-lib';
const lambdaDeviceMountProperty: greengrassv2.CfnComponentVersion.LambdaDeviceMountProperty = {
  addGroupOwner: false,
  path: 'path',
  permission: 'permission',
};

Properties

NameTypeDescription
addGroupOwner?boolean | IResolvableWhether or not to add the component's system user as an owner of the device.
path?stringThe mount path for the device in the file system.
permission?stringThe 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