libZSservicesZSamazonka-apigatewayZSamazonka-apigateway
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.APIGateway.Types.DeploymentCanarySettings

Description

 
Synopsis

Documentation

data DeploymentCanarySettings Source #

The input configuration for a canary deployment.

See: newDeploymentCanarySettings smart constructor.

Constructors

DeploymentCanarySettings' 

Fields

  • stageVariableOverrides :: Maybe (HashMap Text Text)

    A stage variable overrides used for the canary release deployment. They can override existing stage variables or add new stage variables for the canary release deployment. These stage variables are represented as a string-to-string map between stage variable names and their values.

  • useStageCache :: Maybe Bool

    A Boolean flag to indicate whether the canary release deployment uses the stage cache or not.

  • percentTraffic :: Maybe Double

    The percentage (0.0-100.0) of traffic routed to the canary deployment.

Instances

Instances details
Eq DeploymentCanarySettings Source # 
Instance details

Defined in Amazonka.APIGateway.Types.DeploymentCanarySettings

Read DeploymentCanarySettings Source # 
Instance details

Defined in Amazonka.APIGateway.Types.DeploymentCanarySettings

Show DeploymentCanarySettings Source # 
Instance details

Defined in Amazonka.APIGateway.Types.DeploymentCanarySettings

Generic DeploymentCanarySettings Source # 
Instance details

Defined in Amazonka.APIGateway.Types.DeploymentCanarySettings

Associated Types

type Rep DeploymentCanarySettings :: Type -> Type #

NFData DeploymentCanarySettings Source # 
Instance details

Defined in Amazonka.APIGateway.Types.DeploymentCanarySettings

Hashable DeploymentCanarySettings Source # 
Instance details

Defined in Amazonka.APIGateway.Types.DeploymentCanarySettings

ToJSON DeploymentCanarySettings Source # 
Instance details

Defined in Amazonka.APIGateway.Types.DeploymentCanarySettings

type Rep DeploymentCanarySettings Source # 
Instance details

Defined in Amazonka.APIGateway.Types.DeploymentCanarySettings

type Rep DeploymentCanarySettings = D1 ('MetaData "DeploymentCanarySettings" "Amazonka.APIGateway.Types.DeploymentCanarySettings" "libZSservicesZSamazonka-apigatewayZSamazonka-apigateway" 'False) (C1 ('MetaCons "DeploymentCanarySettings'" 'PrefixI 'True) (S1 ('MetaSel ('Just "stageVariableOverrides") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (HashMap Text Text))) :*: (S1 ('MetaSel ('Just "useStageCache") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 ('MetaSel ('Just "percentTraffic") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Double)))))

newDeploymentCanarySettings :: DeploymentCanarySettings Source #

Create a value of DeploymentCanarySettings 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:stageVariableOverrides:DeploymentCanarySettings', deploymentCanarySettings_stageVariableOverrides - A stage variable overrides used for the canary release deployment. They can override existing stage variables or add new stage variables for the canary release deployment. These stage variables are represented as a string-to-string map between stage variable names and their values.

$sel:useStageCache:DeploymentCanarySettings', deploymentCanarySettings_useStageCache - A Boolean flag to indicate whether the canary release deployment uses the stage cache or not.

$sel:percentTraffic:DeploymentCanarySettings', deploymentCanarySettings_percentTraffic - The percentage (0.0-100.0) of traffic routed to the canary deployment.

deploymentCanarySettings_stageVariableOverrides :: Lens' DeploymentCanarySettings (Maybe (HashMap Text Text)) Source #

A stage variable overrides used for the canary release deployment. They can override existing stage variables or add new stage variables for the canary release deployment. These stage variables are represented as a string-to-string map between stage variable names and their values.

deploymentCanarySettings_useStageCache :: Lens' DeploymentCanarySettings (Maybe Bool) Source #

A Boolean flag to indicate whether the canary release deployment uses the stage cache or not.

deploymentCanarySettings_percentTraffic :: Lens' DeploymentCanarySettings (Maybe Double) Source #

The percentage (0.0-100.0) of traffic routed to the canary deployment.