Skip to content

RoutingConfigEntry

Source code in docs_src/capo_amplifygen3/types/routing_config_entry.py
class RoutingConfigEntry(TypedDict, closed=True):
    deployment_id: "capo_amplifygen3.types.deployment_id.DeploymentId"
    """<p>The ID of the deployment that receives the traffic.</p>"""
    weight: "int"
    """<p>The percentage of traffic to route to the deployment.</p>"""

deployment_id instance-attribute

deployment_id: DeploymentId

The ID of the deployment that receives the traffic.

weight instance-attribute

weight: int

The percentage of traffic to route to the deployment.