aws-cdk-lib.aws_evidently.CfnExperiment.TreatmentObjectProperty

interface TreatmentObjectProperty

LanguageType name
.NETAmazon.CDK.AWS.Evidently.CfnExperiment.TreatmentObjectProperty
Gogithub.com/aws/aws-cdk-go/awscdk/v2/awsevidently#CfnExperiment_TreatmentObjectProperty
Javasoftware.amazon.awscdk.services.evidently.CfnExperiment.TreatmentObjectProperty
Pythonaws_cdk.aws_evidently.CfnExperiment.TreatmentObjectProperty
TypeScript aws-cdk-lib » 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 { aws_evidently as evidently } from 'aws-cdk-lib';
const treatmentObjectProperty: evidently.CfnExperiment.TreatmentObjectProperty = {
  feature: 'feature',
  treatmentName: 'treatmentName',
  variation: 'variation',

  // the properties below are optional
  description: 'description',
};

Properties

NameTypeDescription
featurestringThe name of the feature for this experiment.
treatmentNamestringA name for this treatment.
variationstringThe name of the variation to use for this treatment.
description?stringThe 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.