DeploymentCanarySetting

data class DeploymentCanarySetting(val percentTraffic: Double? = null, val stageVariableOverrides: Any? = null, val useStageCache: Boolean? = null)

The `CanarySetting` property type specifies settings for the canary deployment in this stage. `CanarySetting` is a property of the StageDescription property type.

Constructors

Link copied to clipboard
fun DeploymentCanarySetting(percentTraffic: Double? = null, stageVariableOverrides: Any? = null, useStageCache: Boolean? = null)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
val percentTraffic: Double? = null

The percent (0-100) of traffic diverted to a canary deployment.

Link copied to clipboard

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.

Link copied to clipboard
val useStageCache: Boolean? = null

A Boolean flag to indicate whether the canary deployment uses the stage cache or not.