AWS::GreengrassV2::ComponentVersion ComponentDependencyRequirement - Amazon CloudFormation
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).

AWS::GreengrassV2::ComponentVersion ComponentDependencyRequirement

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

Syntax

To declare this entity in your Amazon CloudFormation template, use the following syntax:

JSON

{ "DependencyType" : String, "VersionRequirement" : String }

YAML

DependencyType: String VersionRequirement: String

Properties

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

Required: No

Type: String

Allowed values: SOFT | HARD

Update requires: Replacement

VersionRequirement

The component version requirement for the component dependency.

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

Required: No

Type: String

Update requires: Replacement