Interface CfnStage.CanarySettingProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnStage.CanarySettingProperty.Jsii$Proxy
- Enclosing class:
CfnStage
@Stability(Stable)
public static interface CfnStage.CanarySettingProperty
extends software.amazon.jsii.JsiiSerializable
Configuration settings of a 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.*;
CanarySettingProperty canarySettingProperty = CanarySettingProperty.builder()
.deploymentId("deploymentId")
.percentTraffic(123)
.stageVariableOverrides(Map.of(
"stageVariableOverridesKey", "stageVariableOverrides"))
.useStageCache(false)
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnStage.CanarySettingPropertystatic final classAn implementation forCfnStage.CanarySettingProperty -
Method Summary
Modifier and TypeMethodDescriptionbuilder()default StringThe ID of the canary deployment.default NumberThe percent (0-100) of traffic diverted to a canary deployment.default ObjectStage variables overridden for a canary release deployment, including new stage variables introduced in the canary.default ObjectA Boolean flag to indicate whether the canary deployment uses the stage cache or not.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getDeploymentId
The ID of the canary deployment.- See Also:
-
getPercentTraffic
The percent (0-100) of traffic diverted to a canary deployment.- See Also:
-
getStageVariableOverrides
Stage variables overridden for a canary release deployment, including new stage variables introduced in the canary.These stage variables are represented as a string-to-string map between stage variable names and their values.
- See Also:
-
getUseStageCache
A Boolean flag to indicate whether the canary deployment uses the stage cache or not.- See Also:
-
builder
-