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 |
Synopsis
- data BlueGreenUpdatePolicy = BlueGreenUpdatePolicy' {}
- newBlueGreenUpdatePolicy :: TrafficRoutingConfig -> BlueGreenUpdatePolicy
- blueGreenUpdatePolicy_maximumExecutionTimeoutInSeconds :: Lens' BlueGreenUpdatePolicy (Maybe Natural)
- blueGreenUpdatePolicy_terminationWaitInSeconds :: Lens' BlueGreenUpdatePolicy (Maybe Natural)
- blueGreenUpdatePolicy_trafficRoutingConfiguration :: Lens' BlueGreenUpdatePolicy TrafficRoutingConfig
Documentation
data 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.
See: newBlueGreenUpdatePolicy
smart constructor.
BlueGreenUpdatePolicy' | |
|
Instances
newBlueGreenUpdatePolicy Source #
Create a value of BlueGreenUpdatePolicy
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:maximumExecutionTimeoutInSeconds:BlueGreenUpdatePolicy'
, blueGreenUpdatePolicy_maximumExecutionTimeoutInSeconds
- Maximum execution timeout for the deployment. Note that the timeout
value should be larger than the total waiting time specified in
TerminationWaitInSeconds
and WaitIntervalInSeconds
.
$sel:terminationWaitInSeconds:BlueGreenUpdatePolicy'
, blueGreenUpdatePolicy_terminationWaitInSeconds
- Additional waiting time in seconds after the completion of an endpoint
deployment before terminating the old endpoint fleet. Default is 0.
$sel:trafficRoutingConfiguration:BlueGreenUpdatePolicy'
, blueGreenUpdatePolicy_trafficRoutingConfiguration
- Defines the traffic routing strategy to shift traffic from the old fleet
to the new fleet during an endpoint deployment.
blueGreenUpdatePolicy_maximumExecutionTimeoutInSeconds :: Lens' BlueGreenUpdatePolicy (Maybe Natural) Source #
Maximum execution timeout for the deployment. Note that the timeout
value should be larger than the total waiting time specified in
TerminationWaitInSeconds
and WaitIntervalInSeconds
.
blueGreenUpdatePolicy_terminationWaitInSeconds :: Lens' BlueGreenUpdatePolicy (Maybe Natural) Source #
Additional waiting time in seconds after the completion of an endpoint deployment before terminating the old endpoint fleet. Default is 0.
blueGreenUpdatePolicy_trafficRoutingConfiguration :: Lens' BlueGreenUpdatePolicy TrafficRoutingConfig Source #
Defines the traffic routing strategy to shift traffic from the old fleet to the new fleet during an endpoint deployment.