Amazon IoT Greengrass · Schema
ComponentDependencyMap
ComponentDependencyMap schema
Edge ComputingIoTLambdaMachine LearningReal-Time Processing
JSON Schema
{
"$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-component-dependency-map-schema.json",
"title": "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."
}
}