Amazon IoT Greengrass · JSON Structure

Iot Greengrass Lambda Volume Mount Structure

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: 4 Required: 2
Edge ComputingIoTLambdaMachine LearningReal-Time Processing

LambdaVolumeMount is a JSON Structure definition published by Amazon IoT Greengrass, describing 4 properties, of which 2 are required. It conforms to the https://json-structure.org/meta/core/v0/# meta-schema.

Properties

sourcePath destinationPath permission addGroupOwner

Meta-schema: https://json-structure.org/meta/core/v0/#

JSON Structure

Raw ↑
{
  "$schema": "https://json-structure.org/meta/core/v0/#",
  "$id": "https://raw.githubusercontent.com/api-evangelist/amazon-iot-greengrass/refs/heads/main/json-structure/iot-greengrass-lambda-volume-mount-structure.json",
  "name": "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"
  ]
}