/AWS1/CL_GG2LAMBDAVOLUMEMOUNT¶
Contains information about a volume that Linux processes in a container can access. When you define a volume, the IoT Greengrass Core software mounts the source files to the destination inside the container.
CONSTRUCTOR¶
IMPORTING¶
Required arguments:¶
iv_sourcepath TYPE /AWS1/GG2FILESYSTEMPATH /AWS1/GG2FILESYSTEMPATH¶
The path to the physical volume in the file system.
iv_destinationpath TYPE /AWS1/GG2FILESYSTEMPATH /AWS1/GG2FILESYSTEMPATH¶
The path to the logical volume in the file system.
Optional arguments:¶
iv_permission TYPE /AWS1/GG2LAMBDAFILESYSTEMPERM /AWS1/GG2LAMBDAFILESYSTEMPERM¶
The permission to access the volume: read/only (
ro) or read/write (rw).Default:
ro
iv_addgroupowner TYPE /AWS1/GG2OPTIONALBOOLEAN /AWS1/GG2OPTIONALBOOLEAN¶
Whether or not to add the IoT Greengrass user group as an owner of the volume.
Default:
false
Queryable Attributes¶
sourcePath¶
The path to the physical volume in the file system.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_SOURCEPATH() |
Getter for SOURCEPATH, with configurable default |
ASK_SOURCEPATH() |
Getter for SOURCEPATH w/ exceptions if field has no value |
HAS_SOURCEPATH() |
Determine if SOURCEPATH has a value |
destinationPath¶
The path to the logical volume in the file system.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_DESTINATIONPATH() |
Getter for DESTINATIONPATH, with configurable default |
ASK_DESTINATIONPATH() |
Getter for DESTINATIONPATH w/ exceptions if field has no val |
HAS_DESTINATIONPATH() |
Determine if DESTINATIONPATH has a value |
permission¶
The permission to access the volume: read/only (
ro) or read/write (rw).Default:
ro
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_PERMISSION() |
Getter for PERMISSION, with configurable default |
ASK_PERMISSION() |
Getter for PERMISSION w/ exceptions if field has no value |
HAS_PERMISSION() |
Determine if PERMISSION has a value |
addGroupOwner¶
Whether or not to add the IoT Greengrass user group as an owner of the volume.
Default:
false
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_ADDGROUPOWNER() |
Getter for ADDGROUPOWNER, with configurable default |
ASK_ADDGROUPOWNER() |
Getter for ADDGROUPOWNER w/ exceptions if field has no value |
HAS_ADDGROUPOWNER() |
Determine if ADDGROUPOWNER has a value |
Public Local Types In This Class¶
Internal table types, representing arrays and maps of this class, are defined as local types:
TT_LAMBDAVOLUMELIST¶
TYPES TT_LAMBDAVOLUMELIST TYPE STANDARD TABLE OF REF TO /AWS1/CL_GG2LAMBDAVOLUMEMOUNT WITH DEFAULT KEY
.