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 CanarySettings = CanarySettings' {}
- newCanarySettings :: CanarySettings
- canarySettings_deploymentId :: Lens' CanarySettings (Maybe Text)
- canarySettings_stageVariableOverrides :: Lens' CanarySettings (Maybe (HashMap Text Text))
- canarySettings_useStageCache :: Lens' CanarySettings (Maybe Bool)
- canarySettings_percentTraffic :: Lens' CanarySettings (Maybe Double)
Documentation
data CanarySettings Source #
Configuration settings of a canary deployment.
See: newCanarySettings
smart constructor.
CanarySettings' | |
|
Instances
newCanarySettings :: CanarySettings Source #
Create a value of CanarySettings
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:deploymentId:CanarySettings'
, canarySettings_deploymentId
- The ID of the canary deployment.
$sel:stageVariableOverrides:CanarySettings'
, canarySettings_stageVariableOverrides
- Stage variables overridden for a canary release deployment, including
new stage variables introduced in the canary. These stage variables are
represented as a string-to-string map between stage variable names and
their values.
$sel:useStageCache:CanarySettings'
, canarySettings_useStageCache
- A Boolean flag to indicate whether the canary deployment uses the stage
cache or not.
$sel:percentTraffic:CanarySettings'
, canarySettings_percentTraffic
- The percent (0-100) of traffic diverted to a canary deployment.
canarySettings_deploymentId :: Lens' CanarySettings (Maybe Text) Source #
The ID of the canary deployment.
canarySettings_stageVariableOverrides :: Lens' CanarySettings (Maybe (HashMap Text Text)) Source #
Stage variables overridden for a canary release deployment, including new stage variables introduced in the canary. These stage variables are represented as a string-to-string map between stage variable names and their values.
canarySettings_useStageCache :: Lens' CanarySettings (Maybe Bool) Source #
A Boolean flag to indicate whether the canary deployment uses the stage cache or not.
canarySettings_percentTraffic :: Lens' CanarySettings (Maybe Double) Source #
The percent (0-100) of traffic diverted to a canary deployment.