AWS::ApiGateway::Deployment DeploymentCanarySettings - Amazon CloudFormation
Services or capabilities described in Amazon Web Services documentation might vary by Region. To see the differences applicable to the China Regions, see Getting Started with Amazon Web Services in China (PDF).

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" : Number, "StageVariableOverrides" : {Key: Value, ...}, "UseStageCache" : Boolean }

YAML

PercentTraffic: Number StageVariableOverrides: Key: Value UseStageCache: Boolean

Properties

PercentTraffic

The percentage (0.0-100.0) of traffic routed to the canary deployment.

Required: No

Type: Number

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: Object of String

Pattern: [a-zA-Z0-9]+

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