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.DeploymentPolicies

Description

 
Synopsis

Documentation

data DeploymentPolicies Source #

Contains information about policies that define how a deployment updates components and handles failure.

See: newDeploymentPolicies smart constructor.

Constructors

DeploymentPolicies' 

Fields

Instances

Instances details
Eq DeploymentPolicies Source # 
Instance details

Defined in Amazonka.GreengrassV2.Types.DeploymentPolicies

Read DeploymentPolicies Source # 
Instance details

Defined in Amazonka.GreengrassV2.Types.DeploymentPolicies

Show DeploymentPolicies Source # 
Instance details

Defined in Amazonka.GreengrassV2.Types.DeploymentPolicies

Generic DeploymentPolicies Source # 
Instance details

Defined in Amazonka.GreengrassV2.Types.DeploymentPolicies

Associated Types

type Rep DeploymentPolicies :: Type -> Type #

NFData DeploymentPolicies Source # 
Instance details

Defined in Amazonka.GreengrassV2.Types.DeploymentPolicies

Methods

rnf :: DeploymentPolicies -> () #

Hashable DeploymentPolicies Source # 
Instance details

Defined in Amazonka.GreengrassV2.Types.DeploymentPolicies

ToJSON DeploymentPolicies Source # 
Instance details

Defined in Amazonka.GreengrassV2.Types.DeploymentPolicies

FromJSON DeploymentPolicies Source # 
Instance details

Defined in Amazonka.GreengrassV2.Types.DeploymentPolicies

type Rep DeploymentPolicies Source # 
Instance details

Defined in Amazonka.GreengrassV2.Types.DeploymentPolicies

type Rep DeploymentPolicies = D1 ('MetaData "DeploymentPolicies" "Amazonka.GreengrassV2.Types.DeploymentPolicies" "libZSservicesZSamazonka-greengrassv2ZSamazonka-greengrassv2" 'False) (C1 ('MetaCons "DeploymentPolicies'" 'PrefixI 'True) (S1 ('MetaSel ('Just "failureHandlingPolicy") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe DeploymentFailureHandlingPolicy)) :*: (S1 ('MetaSel ('Just "configurationValidationPolicy") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe DeploymentConfigurationValidationPolicy)) :*: S1 ('MetaSel ('Just "componentUpdatePolicy") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe DeploymentComponentUpdatePolicy)))))

newDeploymentPolicies :: DeploymentPolicies Source #

Create a value of DeploymentPolicies 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:failureHandlingPolicy:DeploymentPolicies', deploymentPolicies_failureHandlingPolicy - The failure handling policy for the configuration deployment. This policy defines what to do if the deployment fails.

Default: ROLLBACK

$sel:configurationValidationPolicy:DeploymentPolicies', deploymentPolicies_configurationValidationPolicy - The configuration validation policy for the configuration deployment. This policy defines how long each component has to validate its configure updates.

$sel:componentUpdatePolicy:DeploymentPolicies', deploymentPolicies_componentUpdatePolicy - The component update policy for the configuration deployment. This policy defines when it's safe to deploy the configuration to devices.

deploymentPolicies_failureHandlingPolicy :: Lens' DeploymentPolicies (Maybe DeploymentFailureHandlingPolicy) Source #

The failure handling policy for the configuration deployment. This policy defines what to do if the deployment fails.

Default: ROLLBACK

deploymentPolicies_configurationValidationPolicy :: Lens' DeploymentPolicies (Maybe DeploymentConfigurationValidationPolicy) Source #

The configuration validation policy for the configuration deployment. This policy defines how long each component has to validate its configure updates.

deploymentPolicies_componentUpdatePolicy :: Lens' DeploymentPolicies (Maybe DeploymentComponentUpdatePolicy) Source #

The component update policy for the configuration deployment. This policy defines when it's safe to deploy the configuration to devices.