Skip to content

TrafficSplitEntryDict

Dictionary Type

TrafficSplitEntryDict

Bases: TypedDict

Dictionary form of TrafficSplitEntry.

Attributes

configuration_bundle instance-attribute

The configuration bundle reference for this variant.

description instance-attribute
description: str | None

The description of this traffic split variant.

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

Key-value metadata associated with this traffic split variant.

name instance-attribute
name: Required[str]

The name of this traffic split variant.

weight instance-attribute
weight: Required[int]

The percentage of traffic to route to this variant. Weights across all entries must sum to 100.