Skip to content

DeploymentCanarySettingsDict

Dictionary Type

DeploymentCanarySettingsDict

Bases: TypedDict

Dictionary form of DeploymentCanarySettings.

Attributes

percent_traffic instance-attribute
percent_traffic: float | None

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

stage_variable_overrides instance-attribute
stage_variable_overrides: Mapping[str, str] | None

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.

use_stage_cache instance-attribute
use_stage_cache: bool | None

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