aws-cdk-lib.aws_greengrassv2.CfnComponentVersion.LambdaVolumeMountProperty

interface LambdaVolumeMountProperty

LanguageType name
.NETAmazon.CDK.AWS.GreengrassV2.CfnComponentVersion.LambdaVolumeMountProperty
Gogithub.com/aws/aws-cdk-go/awscdk/v2/awsgreengrassv2#CfnComponentVersion_LambdaVolumeMountProperty
Javasoftware.amazon.awscdk.services.greengrassv2.CfnComponentVersion.LambdaVolumeMountProperty
Pythonaws_cdk.aws_greengrassv2.CfnComponentVersion.LambdaVolumeMountProperty
TypeScript aws-cdk-lib » aws_greengrassv2 » CfnComponentVersion » LambdaVolumeMountProperty

Contains information about a volume that Linux processes in a container can access.

When you define a volume, the AWS IoT Greengrass Core software mounts the source files to the destination inside the container.

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 lambdaVolumeMountProperty: greengrassv2.CfnComponentVersion.LambdaVolumeMountProperty = {
  addGroupOwner: false,
  destinationPath: 'destinationPath',
  permission: 'permission',
  sourcePath: 'sourcePath',
};

Properties

NameTypeDescription
addGroupOwner?boolean | IResolvableWhether or not to add the AWS IoT Greengrass user group as an owner of the volume.
destinationPath?stringThe path to the logical volume in the file system.
permission?stringThe permission to access the volume: read/only ( ro ) or read/write ( rw ).
sourcePath?stringThe path to the physical volume in the file system.

addGroupOwner?

Type: boolean | IResolvable (optional)

Whether or not to add the AWS IoT Greengrass user group as an owner of the volume.

Default: false


destinationPath?

Type: string (optional)

The path to the logical volume in the file system.


permission?

Type: string (optional)

The permission to access the volume: read/only ( ro ) or read/write ( rw ).

Default: ro


sourcePath?

Type: string (optional)

The path to the physical volume in the file system.