AWS::GreengrassV2::ComponentVersion ComponentDependencyRequirement - AWS CloudFormation
Services or capabilities described in AWS documentation might vary by Region. To see the differences applicable to the AWS European Sovereign Cloud Region, see the AWS European Sovereign Cloud User Guide.

This is the new CloudFormation Template Reference Guide. Please update your bookmarks and links. For help getting started with CloudFormation, see the AWS CloudFormation User Guide.

AWS::GreengrassV2::ComponentVersion ComponentDependencyRequirement

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

Syntax

To declare this entity in your 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.

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

Required: No

Type: String

Update requires: Replacement