StageCanarySettings

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

Constructors

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

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

ID of the deployment that the canary points to.

Link copied to clipboard
val percentTraffic: Double? = null

Percent 0.0 - 100.0 of traffic to divert to the canary deployment.

Link copied to clipboard

Map of overridden stage variables (including new variables) for the canary deployment.

Link copied to clipboard
val useStageCache: Boolean? = null

Whether the canary deployment uses the stage cache. Defaults to false.