Treatment
Describes a treatment in an experiment, including its traffic allocation weight and feature flag value.
Contents
- FlagValue
-
The feature flag value served to users assigned to this treatment.
Type: FlagValue object
Required: Yes
- Weight
-
The traffic allocation weight for this treatment.
Type: Float
Valid Range: Minimum value of 0.0.
Required: Yes
- Description
-
A description of the treatment.
Type: String
Length Constraints: Minimum length of 0. Maximum length of 1024.
Required: No
- Key
-
The unique key that identifies this treatment.
Type: String
Pattern:
^[a-zA-Z0-9]{1,8}Required: No
See Also
For more information about using this API in one of the language-specific AWS SDKs, see the following: