Skip to content

Bedrock Agentcore Control  >  Structures  >  TargetTrafficSplitEntry

TargetTrafficSplitEntry

Structure Class

TargetTrafficSplitEntry dataclass

An entry in a target traffic split configuration.

Attributes

description class-attribute instance-attribute
description: str | None = None

The description of this traffic split variant.

metadata class-attribute instance-attribute
metadata: dict[str, str] | None = None

Key-value metadata associated with this traffic split variant.

name instance-attribute
name: str

The name of this traffic split variant.

target_name class-attribute instance-attribute
target_name: str = field(repr=False)

The name of the target to route traffic to.

weight instance-attribute
weight: int

The percentage of traffic to route to this variant.