ComponentDependencyRequirement - Amazon IoT Greengrass
Services or capabilities described in Amazon Web Services documentation might vary by Region. To see the differences applicable to the China Regions, see Getting Started with Amazon Web Services in China (PDF).

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.

Amazon 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 Amazon SDKs, see the following: