Treatment - CloudWatch Evidently

Treatment

A structure that defines one treatment in an experiment. A treatment is a variation of the feature that you are including in the experiment.

Contents

name

The name of this treatment.

Type: String

Length Constraints: Minimum length of 1. Maximum length of 127.

Pattern: ^[-a-zA-Z0-9._]*$

Required: Yes

description

The description of the treatment.

Type: String

Length Constraints: Minimum length of 0. Maximum length of 160.

Pattern: .*

Required: No

featureVariations

The feature variation used for this treatment. This is a key-value pair. The key is the feature name, and the value is the variation name.

Type: String to string map

Key Length Constraints: Minimum length of 1. Maximum length of 127.

Key Pattern: ^[-a-zA-Z0-9._]*$

Value Length Constraints: Minimum length of 1. Maximum length of 127.

Value Pattern: ^[-a-zA-Z0-9._]*$

Required: No

See Also

For more information about using this API in one of the language-specific AWS SDKs, see the following: