Class CfnExperiment.OnlineAbConfigObjectProperty
A structure that contains the configuration of which variation to use as the "control" version.
Inheritance
Implements
Namespace: Amazon.CDK.AWS.Evidently
Assembly: Amazon.CDK.AWS.Evidently.dll
Syntax (csharp)
public class OnlineAbConfigObjectProperty : Object, CfnExperiment.IOnlineAbConfigObjectProperty
Syntax (vb)
Public Class OnlineAbConfigObjectProperty
Inherits Object
Implements CfnExperiment.IOnlineAbConfigObjectProperty
Remarks
The "control" version is used for comparison with other variations. This structure also specifies how much experiment traffic is allocated to each variation.
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.Evidently;
var onlineAbConfigObjectProperty = new OnlineAbConfigObjectProperty {
ControlTreatmentName = "controlTreatmentName",
TreatmentWeights = new [] { new TreatmentToWeightProperty {
SplitWeight = 123,
Treatment = "treatment"
} }
};
Synopsis
Constructors
OnlineAbConfigObjectProperty() |
Properties
ControlTreatmentName | The name of the variation that is to be the default variation that the other variations are compared to. |
TreatmentWeights | A set of key-value pairs. |
Constructors
OnlineAbConfigObjectProperty()
public OnlineAbConfigObjectProperty()
Properties
ControlTreatmentName
The name of the variation that is to be the default variation that the other variations are compared to.
public string ControlTreatmentName { get; set; }
Property Value
System.String
Remarks
TreatmentWeights
A set of key-value pairs.
public object TreatmentWeights { get; set; }
Property Value
System.Object
Remarks
The keys are treatment names, and the values are the portion of experiment traffic to be assigned to that treatment. Specify the traffic portion in thousandths of a percent, so 20,000 for a variation would allocate 20% of the experiment traffic to that variation.