Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Synopsis
- data TrafficRoutingConfig = TrafficRoutingConfig' {}
- newTrafficRoutingConfig :: TrafficRoutingConfig
- trafficRoutingConfig_timeBasedCanary :: Lens' TrafficRoutingConfig (Maybe TimeBasedCanary)
- trafficRoutingConfig_timeBasedLinear :: Lens' TrafficRoutingConfig (Maybe TimeBasedLinear)
- trafficRoutingConfig_type :: Lens' TrafficRoutingConfig (Maybe TrafficRoutingType)
Documentation
data TrafficRoutingConfig Source #
The configuration that specifies how traffic is shifted from one version of a Lambda function to another version during an AWS Lambda deployment, or from one Amazon ECS task set to another during an Amazon ECS deployment.
See: newTrafficRoutingConfig
smart constructor.
TrafficRoutingConfig' | |
|
Instances
newTrafficRoutingConfig :: TrafficRoutingConfig Source #
Create a value of TrafficRoutingConfig
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:timeBasedCanary:TrafficRoutingConfig'
, trafficRoutingConfig_timeBasedCanary
- A configuration that shifts traffic from one version of a Lambda
function or ECS task set to another in two increments. The original and
target Lambda function versions or ECS task sets are specified in the
deployment's AppSpec file.
$sel:timeBasedLinear:TrafficRoutingConfig'
, trafficRoutingConfig_timeBasedLinear
- A configuration that shifts traffic from one version of a Lambda
function or ECS task set to another in equal increments, with an equal
number of minutes between each increment. The original and target Lambda
function versions or ECS task sets are specified in the deployment's
AppSpec file.
$sel:type':TrafficRoutingConfig'
, trafficRoutingConfig_type
- The type of traffic shifting (TimeBasedCanary
or TimeBasedLinear
)
used by a deployment configuration.
trafficRoutingConfig_timeBasedCanary :: Lens' TrafficRoutingConfig (Maybe TimeBasedCanary) Source #
A configuration that shifts traffic from one version of a Lambda function or ECS task set to another in two increments. The original and target Lambda function versions or ECS task sets are specified in the deployment's AppSpec file.
trafficRoutingConfig_timeBasedLinear :: Lens' TrafficRoutingConfig (Maybe TimeBasedLinear) Source #
A configuration that shifts traffic from one version of a Lambda function or ECS task set to another in equal increments, with an equal number of minutes between each increment. The original and target Lambda function versions or ECS task sets are specified in the deployment's AppSpec file.
trafficRoutingConfig_type :: Lens' TrafficRoutingConfig (Maybe TrafficRoutingType) Source #
The type of traffic shifting (TimeBasedCanary
or TimeBasedLinear
)
used by a deployment configuration.