DeploymentCanarySettings

data class DeploymentCanarySettings(val percentTraffic: Double? = null, val stageVariableOverrides: Map<String, String>? = null, val useStageCache: Boolean? = null)

The `DeploymentCanarySettings` property type specifies settings for the canary deployment.

Constructors

Link copied to clipboard
constructor(percentTraffic: Double? = null, stageVariableOverrides: Map<String, String>? = null, useStageCache: Boolean? = null)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
val percentTraffic: Double? = null

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

Link copied to clipboard

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.

Link copied to clipboard
val useStageCache: Boolean? = null

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