libZSservicesZSamazonka-greengrassv2ZSamazonka-greengrassv2
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.GreengrassV2.Types.ComponentDependencyRequirement

Description

 
Synopsis

Documentation

data ComponentDependencyRequirement Source #

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

See: newComponentDependencyRequirement smart constructor.

Constructors

ComponentDependencyRequirement' 

Fields

  • dependencyType :: Maybe ComponentDependencyType

    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

  • versionRequirement :: Maybe Text

    The component version requirement for the component dependency.

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

Instances

Instances details
Eq ComponentDependencyRequirement Source # 
Instance details

Defined in Amazonka.GreengrassV2.Types.ComponentDependencyRequirement

Read ComponentDependencyRequirement Source # 
Instance details

Defined in Amazonka.GreengrassV2.Types.ComponentDependencyRequirement

Show ComponentDependencyRequirement Source # 
Instance details

Defined in Amazonka.GreengrassV2.Types.ComponentDependencyRequirement

Generic ComponentDependencyRequirement Source # 
Instance details

Defined in Amazonka.GreengrassV2.Types.ComponentDependencyRequirement

Associated Types

type Rep ComponentDependencyRequirement :: Type -> Type #

NFData ComponentDependencyRequirement Source # 
Instance details

Defined in Amazonka.GreengrassV2.Types.ComponentDependencyRequirement

Hashable ComponentDependencyRequirement Source # 
Instance details

Defined in Amazonka.GreengrassV2.Types.ComponentDependencyRequirement

ToJSON ComponentDependencyRequirement Source # 
Instance details

Defined in Amazonka.GreengrassV2.Types.ComponentDependencyRequirement

type Rep ComponentDependencyRequirement Source # 
Instance details

Defined in Amazonka.GreengrassV2.Types.ComponentDependencyRequirement

type Rep ComponentDependencyRequirement = D1 ('MetaData "ComponentDependencyRequirement" "Amazonka.GreengrassV2.Types.ComponentDependencyRequirement" "libZSservicesZSamazonka-greengrassv2ZSamazonka-greengrassv2" 'False) (C1 ('MetaCons "ComponentDependencyRequirement'" 'PrefixI 'True) (S1 ('MetaSel ('Just "dependencyType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ComponentDependencyType)) :*: S1 ('MetaSel ('Just "versionRequirement") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))

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.