ComponentDependencyRequirement is a JSON Structure definition published by Amazon IoT Greengrass, describing 2 properties. It conforms to the https://json-structure.org/meta/core/v0/# meta-schema.
{
"$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-requirement-structure.json",
"name": "ComponentDependencyRequirement",
"description": "Contains information about a component dependency for a Lambda function component.",
"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>"
}
]
}
}
}
Discovery needs no key. Ratings and market analysis are Pro.
Get an API key
Free tier, no form to fill in. Signing in shares your email address with us — we
store it to create your key and to recognise you if you sign in with another
provider. See our Privacy Policy and
Terms.