| 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 |
Amazonka.SecurityHub.Types.AwsApiGatewayCanarySettings
Description
Synopsis
- data AwsApiGatewayCanarySettings = AwsApiGatewayCanarySettings' {}
- newAwsApiGatewayCanarySettings :: AwsApiGatewayCanarySettings
- awsApiGatewayCanarySettings_deploymentId :: Lens' AwsApiGatewayCanarySettings (Maybe Text)
- awsApiGatewayCanarySettings_stageVariableOverrides :: Lens' AwsApiGatewayCanarySettings (Maybe (HashMap Text Text))
- awsApiGatewayCanarySettings_useStageCache :: Lens' AwsApiGatewayCanarySettings (Maybe Bool)
- awsApiGatewayCanarySettings_percentTraffic :: Lens' AwsApiGatewayCanarySettings (Maybe Double)
Documentation
data AwsApiGatewayCanarySettings Source #
Contains information about settings for canary deployment in the stage.
See: newAwsApiGatewayCanarySettings smart constructor.
Constructors
| AwsApiGatewayCanarySettings' | |
Fields
| |
Instances
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.