interface LambdaVolumeMountProperty
Language | Type name |
---|---|
![]() | Amazon.CDK.AWS.GreengrassV2.CfnComponentVersion.LambdaVolumeMountProperty |
![]() | github.com/aws/aws-cdk-go/awscdk/v2/awsgreengrassv2#CfnComponentVersion_LambdaVolumeMountProperty |
![]() | software.amazon.awscdk.services.greengrassv2.CfnComponentVersion.LambdaVolumeMountProperty |
![]() | aws_cdk.aws_greengrassv2.CfnComponentVersion.LambdaVolumeMountProperty |
![]() | 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
Name | Type | Description |
---|---|---|
add | boolean | IResolvable | Whether or not to add the AWS IoT Greengrass user group as an owner of the volume. |
destination | string | The path to the logical volume in the file system. |
permission? | string | The permission to access the volume: read/only ( ro ) or read/write ( rw ). |
source | string | The 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.