Interface CfnExperiment.ITreatmentToWeightProperty
This structure defines how much experiment traffic to allocate to one treatment used in the experiment.
Namespace: Amazon.CDK.AWS.Evidently
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public interface ITreatmentToWeightProperty
Syntax (vb)
Public Interface ITreatmentToWeightProperty
Remarks
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 treatmentToWeightProperty = new TreatmentToWeightProperty {
SplitWeight = 123,
Treatment = "treatment"
};
Synopsis
Properties
SplitWeight | The portion of experiment traffic to allocate to this treatment. |
Treatment | The name of the treatment. |
Properties
SplitWeight
The portion of experiment traffic to allocate to this treatment.
double SplitWeight { get; }
Property Value
System.Double
Remarks
Specify the traffic portion in thousandths of a percent, so 20,000 allocated to a treatment would allocate 20% of the experiment traffic to that treatment.
Treatment
The name of the treatment.
string Treatment { get; }
Property Value
System.String