| Copyright | (c) 2013-2023 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
Amazonka.GreengrassV2.Types.ComponentDependencyRequirement
Description
Synopsis
- data ComponentDependencyRequirement = ComponentDependencyRequirement' {}
- newComponentDependencyRequirement :: ComponentDependencyRequirement
- componentDependencyRequirement_dependencyType :: Lens' ComponentDependencyRequirement (Maybe ComponentDependencyType)
- componentDependencyRequirement_versionRequirement :: Lens' ComponentDependencyRequirement (Maybe Text)
Documentation
data ComponentDependencyRequirement Source #
Contains information about a component dependency for a Lambda function component.
See: newComponentDependencyRequirement smart constructor.
Constructors
| ComponentDependencyRequirement' | |
Fields
| |
Instances
newComponentDependencyRequirement :: ComponentDependencyRequirement Source #
Create a value of ComponentDependencyRequirement with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:dependencyType:ComponentDependencyRequirement', componentDependencyRequirement_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
$sel:versionRequirement:ComponentDependencyRequirement', componentDependencyRequirement_versionRequirement - The component version requirement for the component dependency.
IoT Greengrass V2 uses semantic version constraints. For more information, see Semantic Versioning.
componentDependencyRequirement_dependencyType :: Lens' ComponentDependencyRequirement (Maybe ComponentDependencyType) Source #
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
componentDependencyRequirement_versionRequirement :: Lens' ComponentDependencyRequirement (Maybe Text) Source #
The component version requirement for the component dependency.
IoT Greengrass V2 uses semantic version constraints. For more information, see Semantic Versioning.