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 TrafficConfig = TrafficConfig' {}
- newTrafficConfig :: ContinuousDeploymentPolicyType -> TrafficConfig
- trafficConfig_singleHeaderConfig :: Lens' TrafficConfig (Maybe ContinuousDeploymentSingleHeaderConfig)
- trafficConfig_singleWeightConfig :: Lens' TrafficConfig (Maybe ContinuousDeploymentSingleWeightConfig)
- trafficConfig_type :: Lens' TrafficConfig ContinuousDeploymentPolicyType
Documentation
data TrafficConfig Source #
The traffic configuration of your continuous deployment.
See: newTrafficConfig
smart constructor.
TrafficConfig' | |
|
Instances
Create a value of TrafficConfig
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:singleHeaderConfig:TrafficConfig'
, trafficConfig_singleHeaderConfig
- Determines which HTTP requests are sent to the staging distribution.
$sel:singleWeightConfig:TrafficConfig'
, trafficConfig_singleWeightConfig
- Contains the percentage of traffic to send to the staging distribution.
$sel:type':TrafficConfig'
, trafficConfig_type
- The type of traffic configuration.
trafficConfig_singleHeaderConfig :: Lens' TrafficConfig (Maybe ContinuousDeploymentSingleHeaderConfig) Source #
Determines which HTTP requests are sent to the staging distribution.
trafficConfig_singleWeightConfig :: Lens' TrafficConfig (Maybe ContinuousDeploymentSingleWeightConfig) Source #
Contains the percentage of traffic to send to the staging distribution.
trafficConfig_type :: Lens' TrafficConfig ContinuousDeploymentPolicyType Source #
The type of traffic configuration.