libZSservicesZSamazonka-securityhubZSamazonka-securityhub
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.SecurityHub.Types.AwsApiGatewayCanarySettings

Description

 
Synopsis

Documentation

data AwsApiGatewayCanarySettings Source #

Contains information about settings for canary deployment in the stage.

See: newAwsApiGatewayCanarySettings smart constructor.

Constructors

AwsApiGatewayCanarySettings' 

Fields

  • deploymentId :: Maybe Text

    The deployment identifier for the canary deployment.

  • stageVariableOverrides :: Maybe (HashMap Text Text)

    Stage variables that are overridden in the canary release deployment. The variables include new stage variables that are introduced in the canary.

    Each variable is represented as a string-to-string map between the stage variable name and the variable value.

  • useStageCache :: Maybe Bool

    Indicates whether the canary deployment uses the stage cache.

  • percentTraffic :: Maybe Double

    The percentage of traffic that is diverted to a canary deployment.

Instances

Instances details
Eq AwsApiGatewayCanarySettings Source # 
Instance details

Defined in Amazonka.SecurityHub.Types.AwsApiGatewayCanarySettings

Read AwsApiGatewayCanarySettings Source # 
Instance details

Defined in Amazonka.SecurityHub.Types.AwsApiGatewayCanarySettings

Show AwsApiGatewayCanarySettings Source # 
Instance details

Defined in Amazonka.SecurityHub.Types.AwsApiGatewayCanarySettings

Generic AwsApiGatewayCanarySettings Source # 
Instance details

Defined in Amazonka.SecurityHub.Types.AwsApiGatewayCanarySettings

Associated Types

type Rep AwsApiGatewayCanarySettings :: Type -> Type #

NFData AwsApiGatewayCanarySettings Source # 
Instance details

Defined in Amazonka.SecurityHub.Types.AwsApiGatewayCanarySettings

Hashable AwsApiGatewayCanarySettings Source # 
Instance details

Defined in Amazonka.SecurityHub.Types.AwsApiGatewayCanarySettings

ToJSON AwsApiGatewayCanarySettings Source # 
Instance details

Defined in Amazonka.SecurityHub.Types.AwsApiGatewayCanarySettings

FromJSON AwsApiGatewayCanarySettings Source # 
Instance details

Defined in Amazonka.SecurityHub.Types.AwsApiGatewayCanarySettings

type Rep AwsApiGatewayCanarySettings Source # 
Instance details

Defined in Amazonka.SecurityHub.Types.AwsApiGatewayCanarySettings

type Rep AwsApiGatewayCanarySettings = D1 ('MetaData "AwsApiGatewayCanarySettings" "Amazonka.SecurityHub.Types.AwsApiGatewayCanarySettings" "libZSservicesZSamazonka-securityhubZSamazonka-securityhub" 'False) (C1 ('MetaCons "AwsApiGatewayCanarySettings'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "deploymentId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: 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)))))

newAwsApiGatewayCanarySettings :: AwsApiGatewayCanarySettings Source #

Create a value of AwsApiGatewayCanarySettings 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:AwsApiGatewayCanarySettings', awsApiGatewayCanarySettings_deploymentId - The deployment identifier for the canary deployment.

$sel:stageVariableOverrides:AwsApiGatewayCanarySettings', awsApiGatewayCanarySettings_stageVariableOverrides - Stage variables that are overridden in the canary release deployment. The variables include new stage variables that are introduced in the canary.

Each variable is represented as a string-to-string map between the stage variable name and the variable value.

$sel:useStageCache:AwsApiGatewayCanarySettings', awsApiGatewayCanarySettings_useStageCache - Indicates whether the canary deployment uses the stage cache.

$sel:percentTraffic:AwsApiGatewayCanarySettings', awsApiGatewayCanarySettings_percentTraffic - The percentage of traffic that is diverted to a canary deployment.

awsApiGatewayCanarySettings_deploymentId :: Lens' AwsApiGatewayCanarySettings (Maybe Text) Source #

The deployment identifier for the canary deployment.

awsApiGatewayCanarySettings_stageVariableOverrides :: Lens' AwsApiGatewayCanarySettings (Maybe (HashMap Text Text)) Source #

Stage variables that are overridden in the canary release deployment. The variables include new stage variables that are introduced in the canary.

Each variable is represented as a string-to-string map between the stage variable name and the variable value.

awsApiGatewayCanarySettings_useStageCache :: Lens' AwsApiGatewayCanarySettings (Maybe Bool) Source #

Indicates whether the canary deployment uses the stage cache.

awsApiGatewayCanarySettings_percentTraffic :: Lens' AwsApiGatewayCanarySettings (Maybe Double) Source #

The percentage of traffic that is diverted to a canary deployment.