CanaryConfiguration¶
Structure Class¶
CanaryConfiguration
dataclass
¶
Bases: _SerdeShape
Configuration for a canary deployment strategy that shifts a fixed percentage of traffic to the new service revision, waits for a specified bake time, then shifts the remaining traffic.
This is only valid when you run CreateService or UpdateService with
deploymentController set to ECS and a deploymentConfiguration with
a strategy set to CANARY.
Attributes¶
canary_bake_time_in_minutes
class-attribute
instance-attribute
¶
canary_bake_time_in_minutes: int | None = ...
The amount of time in minutes to wait during the canary phase before shifting the remaining production traffic to the new service revision. Valid values are 0 to 1440 minutes (24 hours). The default value is 10.