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 |
Documentation
data DeploymentConfig Source #
The deployment configuration for an endpoint, which contains the desired deployment strategy and rollback configurations.
See: newDeploymentConfig
smart constructor.
DeploymentConfig' | |
|
Instances
Create a value of DeploymentConfig
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:autoRollbackConfiguration:DeploymentConfig'
, deploymentConfig_autoRollbackConfiguration
- Automatic rollback configuration for handling endpoint deployment
failures and recovery.
$sel:blueGreenUpdatePolicy:DeploymentConfig'
, deploymentConfig_blueGreenUpdatePolicy
- Update policy for a blue/green deployment. If this update policy is
specified, SageMaker creates a new fleet during the deployment while
maintaining the old fleet. SageMaker flips traffic to the new fleet
according to the specified traffic routing configuration. Only one
update policy should be used in the deployment configuration. If no
update policy is specified, SageMaker uses a blue/green deployment
strategy with all at once traffic shifting by default.
deploymentConfig_autoRollbackConfiguration :: Lens' DeploymentConfig (Maybe AutoRollbackConfig) Source #
Automatic rollback configuration for handling endpoint deployment failures and recovery.
deploymentConfig_blueGreenUpdatePolicy :: Lens' DeploymentConfig BlueGreenUpdatePolicy Source #
Update policy for a blue/green deployment. If this update policy is specified, SageMaker creates a new fleet during the deployment while maintaining the old fleet. SageMaker flips traffic to the new fleet according to the specified traffic routing configuration. Only one update policy should be used in the deployment configuration. If no update policy is specified, SageMaker uses a blue/green deployment strategy with all at once traffic shifting by default.