Variant
A variant in an A/B test, representing either the control (C) or treatment (T1) configuration.
Contents
- name
-
The name of the variant. Must be
Cfor control orT1for treatment.Type: String
Length Constraints: Minimum length of 1. Maximum length of 2.
Pattern:
(C|T1)Required: Yes
- variantConfiguration
-
The configuration for this variant, including the configuration bundle or target reference.
Type: VariantConfiguration object
Required: Yes
- weight
-
The percentage of traffic to route to this variant. Weights across all variants must sum to 100.
Type: Integer
Valid Range: Minimum value of 1. Maximum value of 100.
Required: Yes
See Also
For more information about using this API in one of the language-specific AWS SDKs, see the following: