Class CfnComponentVersion.LambdaVolumeMountProperty
Contains information about a volume that Linux processes in a container can access.
Inheritance
Namespace: Amazon.CDK.AWS.GreengrassV2
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class LambdaVolumeMountProperty : Object, CfnComponentVersion.ILambdaVolumeMountProperty
Syntax (vb)
Public Class LambdaVolumeMountProperty
Inherits Object
Implements CfnComponentVersion.ILambdaVolumeMountProperty
Remarks
When you define a volume, the AWS IoT Greengrass Core software mounts the source files to the destination inside the container.
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.GreengrassV2;
var lambdaVolumeMountProperty = new LambdaVolumeMountProperty {
AddGroupOwner = false,
DestinationPath = "destinationPath",
Permission = "permission",
SourcePath = "sourcePath"
};
Synopsis
Constructors
LambdaVolumeMountProperty() |
Properties
AddGroupOwner | Whether or not to add the AWS IoT Greengrass user group as an owner of the volume. |
DestinationPath | The path to the logical volume in the file system. |
Permission | The permission to access the volume: read/only ( |
SourcePath | The path to the physical volume in the file system. |
Constructors
LambdaVolumeMountProperty()
public LambdaVolumeMountProperty()
Properties
AddGroupOwner
Whether or not to add the AWS IoT Greengrass user group as an owner of the volume.
public object AddGroupOwner { get; set; }
Property Value
System.Object
Remarks
DestinationPath
The path to the logical volume in the file system.
public string DestinationPath { get; set; }
Property Value
System.String
Remarks
Permission
The permission to access the volume: read/only ( ro
) or read/write ( rw
).
public string Permission { get; set; }
Property Value
System.String
Remarks
SourcePath
The path to the physical volume in the file system.
public string SourcePath { get; set; }
Property Value
System.String