Amazon API Gateway Deployment CanarySetting
The
CanarySetting property type specifies settings for the canary deployment in this stage.
CanarySetting is a property of the StageDescription property type.
Syntax
To declare this entity in your AWS CloudFormation template, use the following syntax:
JSON
{ "PercentTraffic" : [, ... ] , "StageVariableOverrides" :Double{, "UseStageCache" :String:String, ...}}Boolean
YAML
PercentTraffic:StageVariableOverrides:DoubleUseStageCache:String:StringBoolean
Properties
PercentTraffic-
The percent (0-100) of traffic diverted to a canary deployment.
Required: No
Type: Double
Update requires: No interruption
StageVariableOverrides-
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.
Duplicates are not allowed.
Required: No
Type: String to String map
Update requires: No interruption
UseStageCache-
Whether the canary deployment uses the stage cache or not.
Required: No
Type: Boolean
Update requires: No interruption
See Also
-
Stage in the API Gateway API Reference
