| 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.DeploymentPolicies
Description
Synopsis
- data DeploymentPolicies = DeploymentPolicies' {}
- newDeploymentPolicies :: DeploymentPolicies
- deploymentPolicies_componentUpdatePolicy :: Lens' DeploymentPolicies (Maybe DeploymentComponentUpdatePolicy)
- deploymentPolicies_configurationValidationPolicy :: Lens' DeploymentPolicies (Maybe DeploymentConfigurationValidationPolicy)
- deploymentPolicies_failureHandlingPolicy :: Lens' DeploymentPolicies (Maybe DeploymentFailureHandlingPolicy)
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
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: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.
$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:failureHandlingPolicy:DeploymentPolicies', deploymentPolicies_failureHandlingPolicy - The failure handling policy for the configuration deployment. This
policy defines what to do if the deployment fails.
Default: ROLLBACK
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.
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_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