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 |
Documentation
data 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.
See: newTimeBasedCanary
smart constructor.
TimeBasedCanary' | |
|
Instances
newTimeBasedCanary :: TimeBasedCanary Source #
Create a value of TimeBasedCanary
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:canaryInterval:TimeBasedCanary'
, timeBasedCanary_canaryInterval
- The number of minutes between the first and second traffic shifts of a
TimeBasedCanary
deployment.
$sel:canaryPercentage:TimeBasedCanary'
, timeBasedCanary_canaryPercentage
- The percentage of traffic to shift in the first increment of a
TimeBasedCanary
deployment.
timeBasedCanary_canaryInterval :: Lens' TimeBasedCanary (Maybe Int) Source #
The number of minutes between the first and second traffic shifts of a
TimeBasedCanary
deployment.
timeBasedCanary_canaryPercentage :: Lens' TimeBasedCanary (Maybe Int) Source #
The percentage of traffic to shift in the first increment of a
TimeBasedCanary
deployment.