Class CfnExperiment.TreatmentObjectProperty
A structure that defines one treatment in an experiment.
Inheritance
System.Object
CfnExperiment.TreatmentObjectProperty
Implements
Namespace: Amazon.CDK.AWS.Evidently
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class TreatmentObjectProperty : Object, CfnExperiment.ITreatmentObjectProperty
Syntax (vb)
Public Class TreatmentObjectProperty
Inherits Object
Implements CfnExperiment.ITreatmentObjectProperty
Remarks
A treatment is a variation of the feature that you are including in the experiment.
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 treatmentObjectProperty = new TreatmentObjectProperty {
Feature = "feature",
TreatmentName = "treatmentName",
Variation = "variation",
// the properties below are optional
Description = "description"
};
Synopsis
Constructors
TreatmentObjectProperty() |
Properties
Description | The description of the treatment. |
Feature | The name of the feature for this experiment. |
TreatmentName | A name for this treatment. |
Variation | The name of the variation to use for this treatment. |
Constructors
TreatmentObjectProperty()
public TreatmentObjectProperty()
Properties
Description
The description of the treatment.
public string Description { get; set; }
Property Value
System.String
Remarks
Feature
The name of the feature for this experiment.
public string Feature { get; set; }
Property Value
System.String
Remarks
TreatmentName
A name for this treatment.
public string TreatmentName { get; set; }
Property Value
System.String
Remarks
Variation
The name of the variation to use for this treatment.
public string Variation { get; set; }
Property Value
System.String