Amazon IoT Greengrass · JSON Structure

Iot Greengrass Component Dependency Map Structure

ComponentDependencyMap schema

Type: object Properties: 0
Edge ComputingIoTLambdaMachine LearningReal-Time Processing

ComponentDependencyMap is a JSON Structure definition published by Amazon IoT Greengrass. It conforms to the https://json-structure.org/meta/core/v0/# meta-schema.

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-component-dependency-map-structure.json",
  "name": "ComponentDependencyMap",
  "description": "ComponentDependencyMap schema",
  "type": "object",
  "additionalProperties": {
    "type": "object",
    "properties": {
      "versionRequirement": {
        "allOf": [
          {
            "$ref": "#/components/schemas/NonEmptyString"
          },
          {
            "description": "<p>The component version requirement for the component dependency.</p> <p>IoT Greengrass V2 uses semantic version constraints. For more information, see <a href=\"https://semver.org/\">Semantic Versioning</a>.</p>"
          }
        ]
      },
      "dependencyType": {
        "allOf": [
          {
            "$ref": "#/components/schemas/ComponentDependencyType"
          },
          {
            "description": "<p>The type of this dependency. Choose from the following options:</p> <ul> <li> <p> <code>SOFT</code> \u2013 The component doesn't restart if the dependency changes state.</p> </li> <li> <p> <code>HARD</code> \u2013 The component restarts if the dependency changes state.</p> </li> </ul> <p>Default: <code>HARD</code> </p>"
          }
        ]
      }
    },
    "description": "Contains information about a component dependency for a Lambda function component."
  }
}