amazonka-apigateway-2.0: Amazon API Gateway SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.APIGateway.Types.DeploymentCanarySettings

Description

 
Synopsis

Documentation

data DeploymentCanarySettings Source #

The input configuration for a canary deployment.

See: newDeploymentCanarySettings smart constructor.

Constructors

DeploymentCanarySettings' 

Fields

  • percentTraffic :: Maybe Double

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

  • 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.

Instances

Instances details
ToJSON 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 #

Read DeploymentCanarySettings Source # 
Instance details

Defined in Amazonka.APIGateway.Types.DeploymentCanarySettings

Show DeploymentCanarySettings Source # 
Instance details

Defined in Amazonka.APIGateway.Types.DeploymentCanarySettings

NFData DeploymentCanarySettings Source # 
Instance details

Defined in Amazonka.APIGateway.Types.DeploymentCanarySettings

Eq DeploymentCanarySettings Source # 
Instance details

Defined in Amazonka.APIGateway.Types.DeploymentCanarySettings

Hashable 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" "amazonka-apigateway-2.0-zw0Lbt4rUGxZBjJ4Rpfi" 'False) (C1 ('MetaCons "DeploymentCanarySettings'" 'PrefixI 'True) (S1 ('MetaSel ('Just "percentTraffic") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Double)) :*: (S1 ('MetaSel ('Just "stageVariableOverrides") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (HashMap Text Text))) :*: S1 ('MetaSel ('Just "useStageCache") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)))))

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:percentTraffic:DeploymentCanarySettings', deploymentCanarySettings_percentTraffic - The percentage (0.0-100.0) of traffic routed to the canary deployment.

$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.

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

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.