Skip to content

ComponentDependencyRequirement

Source code in docs_src/capo_greengrassv2/types/component_dependency_requirement.py
class ComponentDependencyRequirement(TypedDict, closed=True):
    version_requirement: NotRequired[
        "capo_greengrassv2.types.non_empty_string.NonEmptyString"
    ]
    """<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>"""
    dependency_type: NotRequired[
        "capo_greengrassv2.types.component_dependency_type.ComponentDependencyType"
    ]
    """<p>The type of this dependency. Choose from the following options:</p> <ul> <li> <p> <code>SOFT</code> – The component doesn't restart if the dependency changes state.</p> </li> <li> <p> <code>HARD</code> – The component restarts if the dependency changes state.</p> </li> </ul> <p>Default: <code>HARD</code> </p>"""

dependency_type instance-attribute

dependency_type: NotRequired[ComponentDependencyType]

The type of this dependency. Choose from the following options:

  • SOFT – The component doesn't restart if the dependency changes state.

  • HARD – The component restarts if the dependency changes state.

Default: HARD

version_requirement instance-attribute

version_requirement: NotRequired[NonEmptyString]

The component version requirement for the component dependency.

IoT Greengrass V2 uses semantic version constraints. For more information, see Semantic Versioning.