DeploymentCanarySettingArgs

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

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
constructor(percentTraffic: Output<Double>? = null, stageVariableOverrides: Output<Map<String, String>>? = null, useStageCache: Output<Boolean>? = null)

Properties

Link copied to clipboard
val percentTraffic: Output<Double>? = null

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

Link copied to clipboard
val stageVariableOverrides: Output<Map<String, String>>? = null

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: Output<Boolean>? = null

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

Functions

Link copied to clipboard
open override fun toJava(): DeploymentCanarySettingArgs