ComponentDependencyRequirement
¶
Source code in docs_src/capo_greengrassv2/types/component_dependency_requirement.py
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.