TrafficRoutingConfig
¶
Used by
-
AsyncCodeDeployClient Operationscreate_deployment_config -
CodeDeployClient Operationscreate_deployment_config
Source code in docs_src/capo_codedeploy/types/traffic_routing_config.py
time_based_canary
instance-attribute
¶
time_based_canary: NotRequired[TimeBasedCanary]
A configuration that shifts traffic from one version of a Lambda function or ECS task set to another in two increments. The original and target Lambda function versions or ECS task sets are specified in the deployment's AppSpec file.
time_based_linear
instance-attribute
¶
time_based_linear: NotRequired[TimeBasedLinear]
A configuration that shifts traffic from one version of a Lambda function or Amazon ECS task set to another in equal increments, with an equal number of minutes between each increment. The original and target Lambda function versions or Amazon ECS task sets are specified in the deployment's AppSpec file.
type
instance-attribute
¶
type: NotRequired[TrafficRoutingType]
The type of traffic shifting (TimeBasedCanary or TimeBasedLinear) used by a deployment configuration.