class Aws::GreengrassV2::Types::ComponentDependencyRequirement

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

@note When making an API call, you may pass ComponentDependencyRequirement

data as a hash:

    {
      version_requirement: "NonEmptyString",
      dependency_type: "HARD", # accepts HARD, SOFT
    }

@!attribute [rw] version_requirement

The component version requirement for the component dependency.

IoT Greengrass V2 uses semantic version constraints. For more
information, see [Semantic Versioning][1].

[1]: https://semver.org/
@return [String]

@!attribute [rw] dependency_type

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`
@return [String]

@see docs.aws.amazon.com/goto/WebAPI/greengrassv2-2020-11-30/ComponentDependencyRequirement AWS API Documentation

Constants

SENSITIVE