AWS::ApiGateway::Deployment DeploymentCanarySettings
The DeploymentCanarySettings property type specifies settings for the canary deployment.
Syntax
To declare this entity in your Amazon CloudFormation template, use the following syntax:
JSON
{ "PercentTraffic" :Double, "StageVariableOverrides" :{, "UseStageCache" :Key:Value, ...}Boolean}
YAML
PercentTraffic:DoubleStageVariableOverrides:UseStageCache:Key:ValueBoolean
Properties
PercentTraffic-
The percentage (0.0-100.0) of traffic routed to the canary deployment.
Required: No
Type: Double
Update requires: Replacement
StageVariableOverrides-
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.
Required: No
Type: Map of String
Update requires: Replacement
UseStageCache-
A Boolean flag to indicate whether the canary release deployment uses the stage cache or not.
Required: No
Type: Boolean
Update requires: Replacement
See also
-
CreateDeployment in the Amazon API Gateway REST API Reference