Interface CfnDeployment.DeploymentCanarySettingsProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnDeployment.DeploymentCanarySettingsProperty.Jsii$Proxy
- Enclosing class:
- CfnDeployment
@Stability(Stable)
public static interface CfnDeployment.DeploymentCanarySettingsProperty
extends software.amazon.jsii.JsiiSerializable
The
DeploymentCanarySettings property type specifies settings for the canary deployment.
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.apigateway.*;
DeploymentCanarySettingsProperty deploymentCanarySettingsProperty = DeploymentCanarySettingsProperty.builder()
.percentTraffic(123)
.stageVariableOverrides(Map.of(
"stageVariableOverridesKey", "stageVariableOverrides"))
.useStageCache(false)
.build();
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnDeployment.DeploymentCanarySettingsPropertystatic final classAn implementation forCfnDeployment.DeploymentCanarySettingsProperty -
Method Summary
Modifier and TypeMethodDescriptionbuilder()default NumberThe percentage (0.0-100.0) of traffic routed to the canary deployment.default ObjectA stage variable overrides used for the canary release deployment.default ObjectA Boolean flag to indicate whether the canary release deployment uses the stage cache or not.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getPercentTraffic
The percentage (0.0-100.0) of traffic routed to the canary deployment. -
getStageVariableOverrides
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.
-
getUseStageCache
A Boolean flag to indicate whether the canary release deployment uses the stage cache or not. -
builder
-