ComponentDependencyRequirement - AWS IoT Greengrass

ComponentDependencyRequirement

Contains information about a component dependency for a Lambda function component.

Contents

dependencyType

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

Type: String

Valid Values: HARD | SOFT

Required: No

versionRequirement

The component version requirement for the component dependency.

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

Type: String

Length Constraints: Minimum length of 1.

Required: No

See Also

For more information about using this API in one of the language-specific AWS SDKs, see the following: