interface TreatmentObjectProperty
Language | Type name |
---|---|
.NET | Amazon.CDK.AWS.Evidently.CfnExperiment.TreatmentObjectProperty |
Java | software.amazon.awscdk.services.evidently.CfnExperiment.TreatmentObjectProperty |
Python | aws_cdk.aws_evidently.CfnExperiment.TreatmentObjectProperty |
TypeScript | @aws-cdk/aws-evidently » CfnExperiment » TreatmentObjectProperty |
A structure that defines one treatment in an experiment.
A treatment is a variation of the feature that you are including in the experiment.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import * as evidently from '@aws-cdk/aws-evidently';
const treatmentObjectProperty: evidently.CfnExperiment.TreatmentObjectProperty = {
feature: 'feature',
treatmentName: 'treatmentName',
variation: 'variation',
// the properties below are optional
description: 'description',
};
Properties
Name | Type | Description |
---|---|---|
feature | string | The name of the feature for this experiment. |
treatment | string | A name for this treatment. |
variation | string | The name of the variation to use for this treatment. |
description? | string | The description of the treatment. |
feature
Type:
string
The name of the feature for this experiment.
treatmentName
Type:
string
A name for this treatment.
It can include up to 127 characters.
variation
Type:
string
The name of the variation to use for this treatment.
description?
Type:
string
(optional)
The description of the treatment.