AWS::GreengrassV2::ComponentVersion ComponentDependencyRequirement - AWS CloudFormation

AWS::GreengrassV2::ComponentVersion ComponentDependencyRequirement

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

Syntax

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