Skip to content

Variant

Source code in docs_src/capo_bedrock_agentcore/types/variant.py
class Variant(TypedDict, closed=True):
    name: "capo_bedrock_agentcore.types.variant_name.VariantName"
    """<p>The name of the variant. Must be <code>C</code> for control or <code>T1</code> for treatment.</p>"""
    weight: "int"
    """<p>The percentage of traffic to route to this variant. Weights across all variants must sum to 100.</p>"""
    variant_configuration: (
        "capo_bedrock_agentcore.types.variant_configuration.VariantConfiguration"
    )
    """<p>The configuration for this variant, including the configuration bundle or target reference.</p>"""

name instance-attribute

The name of the variant. Must be C for control or T1 for treatment.

variant_configuration instance-attribute

variant_configuration: VariantConfiguration

The configuration for this variant, including the configuration bundle or target reference.

weight instance-attribute

weight: int

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