| 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.AppConfig.GetDeploymentStrategy
Description
Retrieves information about a deployment strategy. A deployment strategy defines important criteria for rolling out your configuration to the designated targets. A deployment strategy includes the overall duration required, a percentage of targets to receive the deployment during each interval, an algorithm that defines how percentage grows, and bake time.
Synopsis
- data GetDeploymentStrategy = GetDeploymentStrategy' {}
 - newGetDeploymentStrategy :: Text -> GetDeploymentStrategy
 - getDeploymentStrategy_deploymentStrategyId :: Lens' GetDeploymentStrategy Text
 - data DeploymentStrategy = DeploymentStrategy' {}
 - newDeploymentStrategy :: DeploymentStrategy
 - deploymentStrategy_deploymentDurationInMinutes :: Lens' DeploymentStrategy (Maybe Natural)
 - deploymentStrategy_description :: Lens' DeploymentStrategy (Maybe Text)
 - deploymentStrategy_finalBakeTimeInMinutes :: Lens' DeploymentStrategy (Maybe Natural)
 - deploymentStrategy_growthFactor :: Lens' DeploymentStrategy (Maybe Double)
 - deploymentStrategy_growthType :: Lens' DeploymentStrategy (Maybe GrowthType)
 - deploymentStrategy_id :: Lens' DeploymentStrategy (Maybe Text)
 - deploymentStrategy_name :: Lens' DeploymentStrategy (Maybe Text)
 - deploymentStrategy_replicateTo :: Lens' DeploymentStrategy (Maybe ReplicateTo)
 
Creating a Request
data GetDeploymentStrategy Source #
See: newGetDeploymentStrategy smart constructor.
Constructors
| GetDeploymentStrategy' | |
Fields 
  | |
Instances
newGetDeploymentStrategy Source #
Arguments
| :: Text | |
| -> GetDeploymentStrategy | 
Create a value of GetDeploymentStrategy 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:
GetDeploymentStrategy, getDeploymentStrategy_deploymentStrategyId - The ID of the deployment strategy to get.
Request Lenses
getDeploymentStrategy_deploymentStrategyId :: Lens' GetDeploymentStrategy Text Source #
The ID of the deployment strategy to get.
Destructuring the Response
data DeploymentStrategy Source #
See: newDeploymentStrategy smart constructor.
Constructors
| DeploymentStrategy' | |
Fields 
  | |
Instances
newDeploymentStrategy :: DeploymentStrategy Source #
Create a value of DeploymentStrategy 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:deploymentDurationInMinutes:DeploymentStrategy', deploymentStrategy_deploymentDurationInMinutes - Total amount of time the deployment lasted.
$sel:description:DeploymentStrategy', deploymentStrategy_description - The description of the deployment strategy.
$sel:finalBakeTimeInMinutes:DeploymentStrategy', deploymentStrategy_finalBakeTimeInMinutes - The amount of time that AppConfig monitored for alarms before
 considering the deployment to be complete and no longer eligible for
 automatic rollback.
$sel:growthFactor:DeploymentStrategy', deploymentStrategy_growthFactor - The percentage of targets that received a deployed configuration during
 each interval.
$sel:growthType:DeploymentStrategy', deploymentStrategy_growthType - The algorithm used to define how percentage grew over time.
$sel:id:DeploymentStrategy', deploymentStrategy_id - The deployment strategy ID.
$sel:name:DeploymentStrategy', deploymentStrategy_name - The name of the deployment strategy.
$sel:replicateTo:DeploymentStrategy', deploymentStrategy_replicateTo - Save the deployment strategy to a Systems Manager (SSM) document.
Response Lenses
deploymentStrategy_deploymentDurationInMinutes :: Lens' DeploymentStrategy (Maybe Natural) Source #
Total amount of time the deployment lasted.
deploymentStrategy_description :: Lens' DeploymentStrategy (Maybe Text) Source #
The description of the deployment strategy.
deploymentStrategy_finalBakeTimeInMinutes :: Lens' DeploymentStrategy (Maybe Natural) Source #
The amount of time that AppConfig monitored for alarms before considering the deployment to be complete and no longer eligible for automatic rollback.
deploymentStrategy_growthFactor :: Lens' DeploymentStrategy (Maybe Double) Source #
The percentage of targets that received a deployed configuration during each interval.
deploymentStrategy_growthType :: Lens' DeploymentStrategy (Maybe GrowthType) Source #
The algorithm used to define how percentage grew over time.
deploymentStrategy_id :: Lens' DeploymentStrategy (Maybe Text) Source #
The deployment strategy ID.
deploymentStrategy_name :: Lens' DeploymentStrategy (Maybe Text) Source #
The name of the deployment strategy.
deploymentStrategy_replicateTo :: Lens' DeploymentStrategy (Maybe ReplicateTo) Source #
Save the deployment strategy to a Systems Manager (SSM) document.