LambdaVolumeMount

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.

Edge ComputingIoTLambdaMachine LearningReal-Time Processing

Properties

Name Type Description
sourcePath object
destinationPath object
permission object
addGroupOwner object
View JSON Schema on GitHub

JSON Schema

iot-greengrass-lambda-volume-mount-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/amazon-iot-greengrass/refs/heads/main/json-schema/iot-greengrass-lambda-volume-mount-schema.json",
  "title": "LambdaVolumeMount",
  "description": "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.",
  "type": "object",
  "properties": {
    "sourcePath": {
      "allOf": [
        {
          "$ref": "#/components/schemas/FileSystemPath"
        },
        {
          "description": "The path to the physical volume in the file system."
        }
      ]
    },
    "destinationPath": {
      "allOf": [
        {
          "$ref": "#/components/schemas/FileSystemPath"
        },
        {
          "description": "The path to the logical volume in the file system."
        }
      ]
    },
    "permission": {
      "allOf": [
        {
          "$ref": "#/components/schemas/LambdaFilesystemPermission"
        },
        {
          "description": "<p>The permission to access the volume: read/only (<code>ro</code>) or read/write (<code>rw</code>).</p> <p>Default: <code>ro</code> </p>"
        }
      ]
    },
    "addGroupOwner": {
      "allOf": [
        {
          "$ref": "#/components/schemas/OptionalBoolean"
        },
        {
          "description": "<p>Whether or not to add the IoT Greengrass user group as an owner of the volume.</p> <p>Default: <code>false</code> </p>"
        }
      ]
    }
  },
  "required": [
    "sourcePath",
    "destinationPath"
  ]
}